diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-09-10 08:27:28 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-09-10 08:27:28 (GMT) |
commit | c7a070e998fea9aefea65bb8ffe6b03e00919472 (patch) | |
tree | a8ac1ddf01d0ba88b9227b45d28ffe4fb1e4492b | |
parent | 8ddcf3abf7f899369801086bf39f60e0172a1470 (diff) | |
download | cpython-c7a070e998fea9aefea65bb8ffe6b03e00919472.zip cpython-c7a070e998fea9aefea65bb8ffe6b03e00919472.tar.gz cpython-c7a070e998fea9aefea65bb8ffe6b03e00919472.tar.bz2 |
regrtest: accept options after test names
-rwxr-xr-x | Lib/test/regrtest.py | 2 |
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 |