Issue13726 - Fix the ambiguous -S flag in regrtest. It is -o/--slow for printing the 10 slowest test.

This commit is contained in:
Senthil Kumaran 2012-01-14 18:26:27 +08:00
parent a931463fea
commit bcfe56d77c
2 changed files with 5 additions and 2 deletions

View File

@ -28,7 +28,7 @@
-W/--verbose3 -- display test output on failure
-d/--debug -- print traceback for failed tests
-q/--quiet -- no output unless one or more tests fail
-S/--slow -- print the slowest 10 tests
-o/--slow -- print the slowest 10 tests
--header -- print header with interpreter info
Selecting tests
@ -312,7 +312,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
start = a
elif o in ('-s', '--single'):
single = True
elif o in ('-S', '--slow'):
elif o in ('-o', '--slow'):
print_slow = True
elif o in ('-r', '--randomize'):
randomize = True

View File

@ -97,6 +97,9 @@ Core and Builtins
Library
-------
- Issue #13726: Fix the ambiguous -S flag in regrtest. It is -o/--slow for slow
tests.
- Issue #12364: Fix a hang in concurrent.futures.ProcessPoolExecutor.
The hang would occur when retrieving the result of a scheduled future after
the executor had been shut down.