Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0e0772d

Browse files
committed
merge from 3.2
2 parents 138f465 + bcfe56d commit 0e0772d

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

Lib/test/regrtest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
-W/--verbose3 -- display test output on failure
3434
-d/--debug -- print traceback for failed tests
3535
-q/--quiet -- no output unless one or more tests fail
36-
-S/--slow -- print the slowest 10 tests
36+
-o/--slow -- print the slowest 10 tests
3737
--header -- print header with interpreter info
3838
3939
Selecting tests
@@ -340,7 +340,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
340340
start = a
341341
elif o in ('-s', '--single'):
342342
single = True
343-
elif o in ('-S', '--slow'):
343+
elif o in ('-o', '--slow'):
344344
print_slow = True
345345
elif o in ('-r', '--randomize'):
346346
randomize = True

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,9 @@ Core and Builtins
442442
Library
443443
-------
444444

445+
- Issue #13726: Fix the ambiguous -S flag in regrtest. It is -o/--slow for slow
446+
tests.
447+
445448
- Issue #12364: Fix a hang in concurrent.futures.ProcessPoolExecutor.
446449
The hang would occur when retrieving the result of a scheduled future after
447450
the executor had been shut down.

0 commit comments

Comments
 (0)