Skip to content

Commit 420c636

Browse files
Add missed "f" in an f-string (GH-108906)
1 parent 8b515f6 commit 420c636

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/libregrtest/runtest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ def _load_run_test(result: TestResult, ns: Namespace) -> None:
442442

443443
if hasattr(test_mod, "test_main"):
444444
# https://github.com/python/cpython/issues/89392
445-
raise Exception("Module {result.test_name} defines test_main() which is no longer supported by regrtest")
445+
raise Exception(f"Module {result.test_name} defines test_main() which is no longer supported by regrtest")
446446
def test_func():
447447
return run_unittest(test_mod)
448448

0 commit comments

Comments
 (0)