diff options
author | Charles-François Natali <neologix@free.fr> | 2012-01-14 10:53:37 (GMT) |
---|---|---|
committer | Charles-François Natali <neologix@free.fr> | 2012-01-14 10:53:37 (GMT) |
commit | 512d54fea25804f133032579247a3e66309934e4 (patch) | |
tree | 1ad7723d586d8304f7ea7bc4f5f91827beb8cb71 | |
parent | d612de10e551751c44c1772a027fe6953ae04f99 (diff) | |
parent | 6c3dd7ea42c20d8e71da79c81b6c0738311d7f2e (diff) | |
download | cpython-512d54fea25804f133032579247a3e66309934e4.zip cpython-512d54fea25804f133032579247a3e66309934e4.tar.gz cpython-512d54fea25804f133032579247a3e66309934e4.tar.bz2 |
Merge.
-rwxr-xr-x | Lib/test/regrtest.py | 6 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index af11416..54539d1 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -33,7 +33,7 @@ Verbosity -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 @@ -298,7 +298,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=False, support.record_original_stdout(sys.stdout) try: - opts, args = getopt.getopt(sys.argv[1:], 'hvqxsSrf:lu:t:TD:NLR:FwWM:nj:Gm:', + opts, args = getopt.getopt(sys.argv[1:], 'hvqxsoSrf:lu:t:TD:NLR:FwWM:nj:Gm:', ['help', 'verbose', 'verbose2', 'verbose3', 'quiet', 'exclude', 'single', 'slow', 'random', 'fromfile', 'findleaks', 'use=', 'threshold=', 'trace', 'coverdir=', 'nocoverdir', @@ -340,7 +340,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 @@ -442,6 +442,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. |