From: Serhiy Storchaka Date: Tue, 5 Sep 2023 12:00:28 +0000 (+0300) Subject: Add missed "f" in an f-string (GH-108906) X-Git-Tag: v3.13.0a1~606 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=420c63621918d65ba362686b29495868f087281a;p=thirdparty%2FPython%2Fcpython.git Add missed "f" in an f-string (GH-108906) --- diff --git a/Lib/test/libregrtest/runtest.py b/Lib/test/libregrtest/runtest.py index 9cb71fbfb1d1..16ae04191da7 100644 --- a/Lib/test/libregrtest/runtest.py +++ b/Lib/test/libregrtest/runtest.py @@ -442,7 +442,7 @@ def _load_run_test(result: TestResult, ns: Namespace) -> None: if hasattr(test_mod, "test_main"): # https://github.com/python/cpython/issues/89392 - raise Exception("Module {result.test_name} defines test_main() which is no longer supported by regrtest") + raise Exception(f"Module {result.test_name} defines test_main() which is no longer supported by regrtest") def test_func(): return run_unittest(test_mod)