diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index f36bb958c88ef9..7c6a521c3c48f8 100644 --- a/Lib/test/test_typing.py +++ b/Lib/test/test_typing.py @@ -117,7 +117,7 @@ def test_repr(self): class Sub(Any): pass self.assertEqual( repr(Sub), - ".Sub'>", + f".Sub'>", ) def test_errors(self):