[Python-checkins] r42987 - python/branches/release24-maint/Lib/test/regrtest.py
tim.peters
python-checkins at python.org
Mon Mar 13 06:53:05 CET 2006
Author: tim.peters
Date: Mon Mar 13 06:53:04 2006
New Revision: 42987
Modified:
python/branches/release24-maint/Lib/test/regrtest.py
Log:
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).
Modified: python/branches/release24-maint/Lib/test/regrtest.py
==============================================================================
--- python/branches/release24-maint/Lib/test/regrtest.py (original)
+++ python/branches/release24-maint/Lib/test/regrtest.py Mon Mar 13 06:53:04 2006
@@ -392,6 +392,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