gh-122835: Fix module name in `test_typing
` (#122836)
This commit is contained in:
parent
2d9d3a9f53
commit
2037d8cbae
@ -8877,7 +8877,7 @@ class TypedDictTests(BaseTestCase):
|
||||
class Y(TypedDict):
|
||||
a: None
|
||||
b: "int"
|
||||
fwdref = ForwardRef('int', module='test.test_typing')
|
||||
fwdref = ForwardRef('int', module=__name__)
|
||||
self.assertEqual(Y.__annotations__, {'a': type(None), 'b': fwdref})
|
||||
self.assertEqual(Y.__annotate__(annotationlib.Format.FORWARDREF), {'a': type(None), 'b': fwdref})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user