From fc6675216c2d210ecff0fb7b5310993348e12afb Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora <80244920+Eclips4@users.noreply.github.com> Date: Mon, 1 May 2023 16:42:59 +0300 Subject: [PATCH] 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 79fba267b4bcf2..e46a6ca06200b1 100644 --- a/Lib/test/test_typing.py +++ b/Lib/test/test_typing.py @@ -114,7 +114,7 @@ def test_repr(self): class Sub(Any): pass self.assertEqual( repr(Sub), - ".Sub'>", + f".Sub'>", ) def test_errors(self):