]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Merge rev 42963 from the trunk.
authorTim Peters <tim.peters@gmail.com>
Mon, 13 Mar 2006 05:53:04 +0000 (05:53 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 13 Mar 2006 05:53:04 +0000 (05:53 +0000)
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).

Lib/test/regrtest.py

index 4f30bbca3cb1c769bc55f8ed9536d61b897535c0..9be9bb95bbe754e80ce1ba269f71865cf1f66f34 100755 (executable)
@@ -392,6 +392,8 @@ def main(tests=None, testdir=None, verbose=0, quiet=False, generate=False,
     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,