From 1be8bed236e841f33e10092aa2e774dd90d74c9b Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Mon, 1 May 2023 07:17:12 -0700 Subject: [3.11] gh-104036: Fix direct invocation of test_typing (GH-104037) (#104039) gh-104036: Fix direct invocation of test_typing (GH-104037) Previously, `python -m test test_typing` worked, but `python Lib/test/test_typing.py` did not. (cherry picked from commit 4181d078fc945313568eb39965cb9190881606b5) Co-authored-by: Kirill Podoprigora <80244920+Eclips4@users.noreply.github.com> --- Lib/test/test_typing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index 79fba26..e46a6ca 100644 --- a/Lib/test/test_typing.py +++ b/Lib/test/test_typing.py @@ -114,7 +114,7 @@ class AnyTests(BaseTestCase): class Sub(Any): pass self.assertEqual( repr(Sub), - ".Sub'>", + f".Sub'>", ) def test_errors(self): -- cgit v0.12