diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-03-13 05:53:04 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-03-13 05:53:04 (GMT) |
commit | ef63e9f345755d216d9b2e5bc817e7a45598e746 (patch) | |
tree | c874a9fb13a78c61576238719aade9f0de3c6588 /Lib | |
parent | 1baff3cffdaa0bdf86ad2a0e8dbe9d56dd18d405 (diff) | |
download | cpython-ef63e9f345755d216d9b2e5bc817e7a45598e746.zip cpython-ef63e9f345755d216d9b2e5bc817e7a45598e746.tar.gz cpython-ef63e9f345755d216d9b2e5bc817e7a45598e746.tar.bz2 |
Merge rev 42963 from the trunk.
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')
-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 4f30bbc..9be9bb9 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -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, |