[Python-checkins] r75528 - python/trunk/Lib/test/test_support.py

r.david.murray python-checkins at python.org
Mon Oct 19 19:53:58 CEST 2009


Author: r.david.murray
Date: Mon Oct 19 19:53:58 2009
New Revision: 75528

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



Modified:
   python/trunk/Lib/test/test_support.py

Modified: python/trunk/Lib/test/test_support.py
==============================================================================
--- python/trunk/Lib/test/test_support.py	(original)
+++ python/trunk/Lib/test/test_support.py	Mon Oct 19 19:53:58 2009
@@ -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)
 
 


More information about the Python-checkins mailing list