mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2024-11-12 17:54:29 +00:00
one last straggler
This commit is contained in:
parent
2c717ea7e5
commit
1d6584573a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue