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.
test_typing
1 parent 2d9d3a9 commit 2037d8cCopy full SHA for 2037d8c
Lib/test/test_typing.py
@@ -8877,7 +8877,7 @@ class X(TypedDict):
8877
class Y(TypedDict):
8878
a: None
8879
b: "int"
8880
- fwdref = ForwardRef('int', module='test.test_typing')
+ fwdref = ForwardRef('int', module=__name__)
8881
self.assertEqual(Y.__annotations__, {'a': type(None), 'b': fwdref})
8882
self.assertEqual(Y.__annotate__(annotationlib.Format.FORWARDREF), {'a': type(None), 'b': fwdref})
8883
0 commit comments