mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
Clarify error report message, and don't recommend running in verbose
mode for more information if we are already running in verbose mode.
This commit is contained in:
parent
92a27b5206
commit
a24db67d47
1 changed files with 3 additions and 1 deletions
|
@ -894,7 +894,9 @@ def _run_suite(suite):
|
|||
elif len(result.failures) == 1 and not result.errors:
|
||||
err = result.failures[0][1]
|
||||
else:
|
||||
err = "errors occurred; run in verbose mode for details"
|
||||
err = "multiple errors occurred"
|
||||
if not verbose:
|
||||
err += "; run in verbose mode for details"
|
||||
raise TestFailed(err)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue