summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_typing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py
index 904cd93..6d8cc53 100644
--- a/Lib/test/test_typing.py
+++ b/Lib/test/test_typing.py
@@ -651,9 +651,9 @@ class GenericTests(BaseTestCase):
def test_repr(self):
self.assertEqual(repr(SimpleMapping),
- "<class 'test.test_typing.SimpleMapping'>")
+ f"<class '{__name__}.SimpleMapping'>")
self.assertEqual(repr(MySimpleMapping),
- "<class 'test.test_typing.MySimpleMapping'>")
+ f"<class '{__name__}.MySimpleMapping'>")
def test_chain_repr(self):
T = TypeVar('T')