one last straggler

This commit is contained in:
sneakers-the-rat 2024-07-01 23:56:56 -07:00
parent 2c717ea7e5
commit 1d6584573a
Signed by untrusted user who does not match committer: jonny
GPG key ID: 6DCB96EF1E4D232D

View file

@ -237,7 +237,7 @@ def test_inline_with_identifier(imported_schema):
"""
main = imported_schema["core"].MainTopLevel
inline = main.model_fields["inline_dict"].annotation
assert typing.get_origin(typing.get_args(inline)[0]) == dict
assert typing.get_origin(typing.get_args(inline)[0]) is dict
# god i hate pythons typing interface
otherclass, stillanother = typing.get_args(typing.get_args(typing.get_args(inline)[0])[1])
assert otherclass is imported_schema["core"].OtherClass