mirror of
https://github.com/python/cpython.git
synced 2025-11-20 10:57:44 +00:00
Get regrtest working when re-running tests
This commit is contained in:
parent
ae42f33cdf
commit
5fe5cf6df2
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue