Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_support.py @ 56625:90c10dcb2913 legacy-trunk
Clarify error report message, and don't recommend running in verbose
mode for more information if we are already running in verbose mode.
| author | R. David Murray <rdmurray@bitdance.com> |
|---|---|
| date | Mon, 19 Oct 2009 17:53:58 +0000 |
| parents | 77ecc5e4f664 |
| children | 29fe5e7bd6ee |
line wrap: on
line diff
--- a/Lib/test/test_support.py Mon Oct 19 16:28:24 2009 +0000 +++ b/Lib/test/test_support.py Mon Oct 19 17:53:58 2009 +0000 @@ -894,7 +894,9 @@ 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)
