diff options
author | R. David Murray <rdmurray@bitdance.com> | 2009-10-19 17:53:58 +0000 |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2009-10-19 17:53:58 +0000 |
commit | a24db67d4704550722db3181b38b3840ded989bc (patch) | |
tree | bbd7510000747957764d4d946a5bfaa8603bd575 | |
parent | 92a27b5206a7302c88f39f852cb92a31136b0e22 (diff) | |
download | cpython-git-a24db67d4704550722db3181b38b3840ded989bc.tar.gz |
Clarify error report message, and don't recommend running in verbose
mode for more information if we are already running in verbose mode.
-rw-r--r-- | Lib/test/test_support.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py index d97e150c34..bfa3c45763 100644 --- a/Lib/test/test_support.py +++ b/Lib/test/test_support.py @@ -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) |