Skip to content

Commit 8132cd8

Browse files
committed
Update test_schema.py
1 parent b4f8272 commit 8132cd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/core/test_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def test_model_construction_from_data(self) -> None:
3838
"""
3939

4040
data = loads(toml_str)
41-
result = self.Model.model_validate(data, by_name=True)
41+
result = self.Model.model_validate(data)
4242
assert result.aliased_variable is True
4343

4444
@staticmethod

0 commit comments

Comments
 (0)