Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c7a070e

Browse files
committed
regrtest: accept options after test names
1 parent 8ddcf3a commit c7a070e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/regrtest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def _create_parser():
325325
group.add_argument('-P', '--pgo', dest='pgo', action='store_true',
326326
help='enable Profile Guided Optimization training')
327327

328-
parser.add_argument('args', nargs=argparse.REMAINDER,
328+
parser.add_argument('args', nargs='*',
329329
help=argparse.SUPPRESS)
330330

331331
return parser

0 commit comments

Comments
 (0)