]> granicus.if.org Git - python/commitdiff
Clarify error report message, and don't recommend running in verbose
authorR. David Murray <rdmurray@bitdance.com>
Mon, 19 Oct 2009 17:53:58 +0000 (17:53 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Mon, 19 Oct 2009 17:53:58 +0000 (17:53 +0000)
mode for more information if we are already running in verbose mode.

Lib/test/test_support.py

index d97e150c340608a3953f5031cee95300df199a9e..bfa3c45763de2c7434127cee0ad9b31494629a48 100644 (file)
@@ -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)