We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5467a2a commit 839bd97Copy full SHA for 839bd97
1 file changed
tests/test_generics.py
@@ -362,7 +362,7 @@ class GenericEntity(GenericProtocol[int]):
362
363
364
def test_generics_with_forward_refs():
365
- """Type resolution works with forward references."""
+ """Type resolution works with stringified annotations."""
366
converter = Converter()
367
dct = converter.unstructure(GenericClass(42), unstructure_as=GenericClass[int])
368
assert dct == {"t": 42}
0 commit comments