Skip to content

Commit 16b37c1

Browse files
committed
fix tests
1 parent 5c049f6 commit 16b37c1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/python-fastui/tests/test_json_schema_match.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def python_model_iter():
2727
NULL_TYPE = {'type': 'null'}
2828

2929

30-
def any_of_simple(any_of: list[typing.Any]) -> list[typing.Any] | None:
30+
def any_of_simple(any_of: typing.List[typing.Any]) -> typing.List[typing.Any] | None:
3131
new_types = []
3232
simple = True
3333
for s in any_of:
@@ -123,7 +123,6 @@ def test_components_match(model_schema: typing.Dict[str, typing.Any]):
123123
model_schema = model_schema['$defs'][title]
124124

125125
model_properties = model_schema['properties']
126-
debug(model_properties)
127126
model_filled = set(model_schema.get('required', []))
128127
for key, value in model_properties.items():
129128
value.pop('title', None)

0 commit comments

Comments
 (0)