[Python-checkins] r42963 - python/trunk/Lib/test/regrtest.py

tim.peters python-checkins at python.org
Sat Mar 11 00:37:21 CET 2006


Author: tim.peters
Date: Sat Mar 11 00:37:10 2006
New Revision: 42963

Modified:
   python/trunk/Lib/test/regrtest.py
Log:
When the new -w option (yay! great idea) reruns a
failed test, first display the name of the test (else
it's not always clear from the output which test is
getting run).


Modified: python/trunk/Lib/test/regrtest.py
==============================================================================
--- python/trunk/Lib/test/regrtest.py	(original)
+++ python/trunk/Lib/test/regrtest.py	Sat Mar 11 00:37:10 2006
@@ -404,6 +404,8 @@
     if verbose2 and bad:
         print "Re-running failed tests in verbose mode"
         for test in bad:
+            print "Re-running test %r in verbose mode" % test
+            sys.stdout.flush()
             try:
                 test_support.verbose = 1
                 ok = runtest(test, generate, 1, quiet, testdir,


More information about the Python-checkins mailing list