We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b515f6 commit 420c636Copy full SHA for 420c636
Lib/test/libregrtest/runtest.py
@@ -442,7 +442,7 @@ def _load_run_test(result: TestResult, ns: Namespace) -> None:
442
443
if hasattr(test_mod, "test_main"):
444
# https://github.com/python/cpython/issues/89392
445
- 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")
446
def test_func():
447
return run_unittest(test_mod)
448
0 commit comments