Add missed "f" in an f-string (GH-108906)

This commit is contained in:
Serhiy Storchaka 2023-09-05 15:00:28 +03:00 committed by GitHub
parent 8b515f60ee
commit 420c636219
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)