Kaydet (Commit) 922dd7d4 authored tarafından Tim Peters's avatar Tim Peters

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).
üst 04824ce8
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment