[Python-checkins] r75530 - in python/branches/py3k: Lib/test/support.py

r.david.murray python-checkins at python.org
Mon Oct 19 20:06:17 CEST 2009


Author: r.david.murray
Date: Mon Oct 19 20:06:17 2009
New Revision: 75530

Log:
Merged revisions 75528 via svnmerge from 
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.
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Lib/test/support.py

Modified: python/branches/py3k/Lib/test/support.py
==============================================================================
--- python/branches/py3k/Lib/test/support.py	(original)
+++ python/branches/py3k/Lib/test/support.py	Mon Oct 19 20:06:17 2009
@@ -889,7 +889,8 @@
         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