]> granicus.if.org Git - python/commitdiff
Merged revisions 75528 via svnmerge from
authorR. David Murray <rdmurray@bitdance.com>
Wed, 28 Oct 2009 02:22:08 +0000 (02:22 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Wed, 28 Oct 2009 02:22:08 +0000 (02:22 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75528 | r.david.murray | 2009-10-19 13:53:58 -0400 (Mon, 19 Oct 2009) | 4 lines

  Clarify error report message, and don't recommend running in verbose
  mode for more information if we are already running in verbose mode.
........

Lib/test/test_support.py

index 73b6fa2e9c2e588d39b93eab68df72f0e9532b16..c9fb092dd3a578ad520e94eb16287b08dcd380a7 100644 (file)
@@ -703,7 +703,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)