mirror of https://github.com/python/cpython
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).
This commit is contained in:
parent
04824ce8ed
commit
922dd7d49d
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue