Skip to content

Commit 2037d8c

Browse files
authored
gh-122835: Fix module name in test_typing (#122836)
1 parent 2d9d3a9 commit 2037d8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_typing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8877,7 +8877,7 @@ class X(TypedDict):
88778877
class Y(TypedDict):
88788878
a: None
88798879
b: "int"
8880-
fwdref = ForwardRef('int', module='test.test_typing')
8880+
fwdref = ForwardRef('int', module=__name__)
88818881
self.assertEqual(Y.__annotations__, {'a': type(None), 'b': fwdref})
88828882
self.assertEqual(Y.__annotate__(annotationlib.Format.FORWARDREF), {'a': type(None), 'b': fwdref})
88838883

0 commit comments

Comments
 (0)