mirror of
https://github.com/python/cpython.git
synced 2025-08-17 23:31:09 +00:00
[3.12] gh-111165: Add missed "support." prefix for "verbose" (GH-111327) (GH-111328)
(cherry picked from commit a4981921aa
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
parent
ed05bf6006
commit
3641dae42f
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ def _run_suite(suite):
|
||||||
err = result.failures[0][1]
|
err = result.failures[0][1]
|
||||||
else:
|
else:
|
||||||
err = "multiple errors occurred"
|
err = "multiple errors occurred"
|
||||||
if not verbose: err += "; run in verbose mode for details"
|
if not support.verbose: err += "; run in verbose mode for details"
|
||||||
errors = [(str(tc), exc_str) for tc, exc_str in result.errors]
|
errors = [(str(tc), exc_str) for tc, exc_str in result.errors]
|
||||||
failures = [(str(tc), exc_str) for tc, exc_str in result.failures]
|
failures = [(str(tc), exc_str) for tc, exc_str in result.failures]
|
||||||
raise support.TestFailedWithDetails(err, errors, failures, stats=stats)
|
raise support.TestFailedWithDetails(err, errors, failures, stats=stats)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue