diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2023-09-05 12:00:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-05 12:00:28 (GMT) |
commit | 420c63621918d65ba362686b29495868f087281a (patch) | |
tree | 77d369ac95aaa7c337f9823b0d61da112a5c94ce | |
parent | 8b515f60ee1dec65cb3d64f1cc1d4b32aa2f4184 (diff) | |
download | cpython-420c63621918d65ba362686b29495868f087281a.zip cpython-420c63621918d65ba362686b29495868f087281a.tar.gz cpython-420c63621918d65ba362686b29495868f087281a.tar.bz2 |
Add missed "f" in an f-string (GH-108906)
-rw-r--r-- | Lib/test/libregrtest/runtest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/libregrtest/runtest.py b/Lib/test/libregrtest/runtest.py index 9cb71fb..16ae041 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) |