Skip to content

Commit

Permalink
Add missed "f" in an f-string (pythonGH-108906)
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiy-storchaka authored Sep 5, 2023
1 parent 8b515f6 commit 420c636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/libregrtest/runtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 420c636

Please sign in to comment.