changeset: 74380:4fc5dfad766a branch: 3.2 parent: 74373:bac18092c1dc user: Senthil Kumaran date: Sat Jan 14 18:26:27 2012 +0800 files: Lib/test/regrtest.py Misc/NEWS description: Issue13726 - Fix the ambiguous -S flag in regrtest. It is -o/--slow for printing the 10 slowest test. diff -r bac18092c1dc -r 4fc5dfad766a Lib/test/regrtest.py --- a/Lib/test/regrtest.py Fri Jan 13 23:43:13 2012 -0500 +++ b/Lib/test/regrtest.py Sat Jan 14 18:26:27 2012 +0800 @@ -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 @@ 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 diff -r bac18092c1dc -r 4fc5dfad766a Misc/NEWS --- a/Misc/NEWS Fri Jan 13 23:43:13 2012 -0500 +++ b/Misc/NEWS Sat Jan 14 18:26:27 2012 +0800 @@ -97,6 +97,9 @@ 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.

AltStyle によって変換されたページ (->オリジナル) /