From: Tim Peters Date: Fri, 10 Mar 2006 23:37:10 +0000 (+0000) Subject: When the new -w option (yay! great idea) reruns a X-Git-Tag: v2.5a0~282 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=922dd7d49da75b07e27f917db0166f67bdbef3d3;p=thirdparty%2FPython%2Fcpython.git 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). --- diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index a1f237dc66cb..b4c229ac4bc7 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -404,6 +404,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,