diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-03-10 23:37:10 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-03-10 23:37:10 (GMT) |
commit | 922dd7d49da75b07e27f917db0166f67bdbef3d3 (patch) | |
tree | 007ac005e786c11297333079928ee9b8a46195fa /Lib/test/regrtest.py | |
parent | 04824ce8ed3e4e936487758ca6672b6dec75a8a7 (diff) | |
download | cpython-922dd7d49da75b07e27f917db0166f67bdbef3d3.zip cpython-922dd7d49da75b07e27f917db0166f67bdbef3d3.tar.gz cpython-922dd7d49da75b07e27f917db0166f67bdbef3d3.tar.bz2 |
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).
Diffstat (limited to 'Lib/test/regrtest.py')
-rwxr-xr-x | Lib/test/regrtest.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index a1f237d..b4c229a 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, |