[issue28409] test.regrtest does not support multiple -x flags

Charalampos Stratakis report at bugs.python.org
Mon Oct 10 13:37:52 EDT 2016


New submission from Charalampos Stratakis:

Until python3.6.0a04 it was possible to pass multiple times the -x option at regrtest.

However since the 3.6.0b1 when trying the same thing I get an error. Test names are random.

python3 -m test.regrtest -x test_venv -x test_gdb
usage: python -m test [options] [test_name1 [test_name2 ...]]
python path/to/Lib/test/regrtest.py [options] [test_name1 [test_name2 ...]]
regrtest.py: error: unrecognized arguments: test_gdb

If however I omit the second -x, the tests run fine and correctly exclude the specific tests.

Was the change intentional or a side effect from something else?

----------
components: Tests
messages: 278435
nosy: cstratak
priority: normal
severity: normal
status: open
title: test.regrtest does not support multiple -x flags
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28409>
_______________________________________


More information about the Python-bugs-list mailing list