Get regrtest working when re-running tests

This commit is contained in:
Neal Norwitz 2008-03-18 17:58:02 +00:00
parent ae42f33cdf
commit 5fe5cf6df2
1 changed files with 2 additions and 2 deletions

View File

@ -437,8 +437,8 @@ def main(tests=None, testdir=None, verbose=0, quiet=False, generate=False,
print "Re-running test %r in verbose mode" % test
sys.stdout.flush()
try:
test_support.verbose = 1
ok = runtest(test, generate, 1, quiet, testdir,
test_support.verbose = True
ok = runtest(test, generate, True, quiet, test_times, testdir,
huntrleaks)
except KeyboardInterrupt:
# print a newline separate from the ^C