From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 22 Jul 2018 10:41:41 +0000 (-0700) Subject: bpo-34181: Fix running Lib/test/test_typing.py as a script. (GH-8380) (GH-8385) X-Git-Tag: v3.7.1rc1~256 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=81f85d09f4cc83fc35452afcca75baaf64831b22;p=thirdparty%2FPython%2Fcpython.git bpo-34181: Fix running Lib/test/test_typing.py as a script. (GH-8380) (GH-8385) (cherry picked from commit 961360923e7997a04833652623ea549b0dc02262) Co-authored-by: Serhiy Storchaka --- diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index 904cd93691a1..6d8cc5319fb1 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), - "") + f"") self.assertEqual(repr(MySimpleMapping), - "") + f"") def test_chain_repr(self): T = TypeVar('T')