From d448fcb0323bf00cb4ff4a1e65e8424a73b5f0d4 Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora <80244920+Eclips4@users.noreply.github.com> Date: Mon, 1 May 2023 23:17:47 +0300 Subject: [PATCH] gh-104057: Fix direct invocation of test_module (GH-104059) --- Lib/test/test_module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_module.py b/Lib/test/test_module.py index 70e4efea693..c7eb92290e1 100644 --- a/Lib/test/test_module.py +++ b/Lib/test/test_module.py @@ -236,7 +236,7 @@ a = A(destroyed)""" # Yes, a class not an instance. m.__loader__ = FullLoader self.assertEqual( - repr(m), ")>") + repr(m), f")>") def test_module_repr_with_bare_loader_and_filename(self): m = ModuleType('foo')