summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-09-10 08:27:28 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-09-10 08:27:28 (GMT)
commitc7a070e998fea9aefea65bb8ffe6b03e00919472 (patch)
treea8ac1ddf01d0ba88b9227b45d28ffe4fb1e4492b /Lib/test
parent8ddcf3abf7f899369801086bf39f60e0172a1470 (diff)
downloadcpython-c7a070e998fea9aefea65bb8ffe6b03e00919472.zip
cpython-c7a070e998fea9aefea65bb8ffe6b03e00919472.tar.gz
cpython-c7a070e998fea9aefea65bb8ffe6b03e00919472.tar.bz2
regrtest: accept options after test names
Diffstat (limited to 'Lib/test')
-rwxr-xr-xLib/test/regrtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index ba8a780..8509f55 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -325,7 +325,7 @@ def _create_parser():
group.add_argument('-P', '--pgo', dest='pgo', action='store_true',
help='enable Profile Guided Optimization training')
- parser.add_argument('args', nargs=argparse.REMAINDER,
+ parser.add_argument('args', nargs='*',
help=argparse.SUPPRESS)
return parser