summaryrefslogtreecommitdiffstats
path: root/Lib/test/regrtest.py
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2012-01-14 10:26:27 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2012-01-14 10:26:27 (GMT)
commitbcfe56d77ce7da76b10bbd7f8465ec21ea780612 (patch)
tree302ba6ea7be3a54f7d1245c9aead04fd66cebf14 /Lib/test/regrtest.py
parenta931463feab06b3976396bfc2db18cb6b00ac518 (diff)
downloadcpython-bcfe56d77ce7da76b10bbd7f8465ec21ea780612.zip
cpython-bcfe56d77ce7da76b10bbd7f8465ec21ea780612.tar.gz
cpython-bcfe56d77ce7da76b10bbd7f8465ec21ea780612.tar.bz2
Issue13726 - Fix the ambiguous -S flag in regrtest. It is -o/--slow for printing the 10 slowest test.
Diffstat (limited to 'Lib/test/regrtest.py')
-rwxr-xr-xLib/test/regrtest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index c3d2a2b..0b93b52 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -28,7 +28,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
@@ -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