From: Kirill Podoprigora <80244920+Eclips4@users.noreply.github.com> Date: Mon, 1 May 2023 13:42:59 +0000 (+0300) Subject: gh-104036: Fix direct invocation of test_typing (#104037) X-Git-Tag: v3.12.0b1~349 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4181d078fc945313568eb39965cb9190881606b5;p=thirdparty%2FPython%2Fcpython.git gh-104036: Fix direct invocation of test_typing (#104037) Previously, `python -m test test_typing` worked, but `python Lib/test/test_typing.py` did not. --- diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index f36bb958c88e..7c6a521c3c48 100644 --- a/Lib/test/test_typing.py +++ b/Lib/test/test_typing.py @@ -117,7 +117,7 @@ class AnyTests(BaseTestCase): class Sub(Any): pass self.assertEqual( repr(Sub), - ".Sub'>", + f".Sub'>", ) def test_errors(self):