Skip to content

Commit 63c09ba

Browse files
committed
pythongh-104036: Fix direct invocation of est_typing
1 parent 59c27fa commit 63c09ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_typing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def test_repr(self):
117117
class Sub(Any): pass
118118
self.assertEqual(
119119
repr(Sub),
120-
"<class 'test.test_typing.AnyTests.test_repr.<locals>.Sub'>",
120+
f"<class '{__name__}.AnyTests.test_repr.<locals>.Sub'>",
121121
)
122122

123123
def test_errors(self):

0 commit comments

Comments
 (0)