[New-bugs-announce] [issue28950] -j0 fails the check -j are not allowed together with -T/-l

Xiang Zhang report at bugs.python.org
Mon Dec 12 13:15:13 EST 2016


New submission from Xiang Zhang:

For python test command line arguments, -j is not allowed together with -T/-l (don't know why):

[cpython]$ ./python -m test -j4 -T
usage: python -m test [options] [test_name1 [test_name2 ...]]
python path/to/Lib/test/regrtest.py [options] [test_name1 [test_name2 ...]]
regrtest.py: error: -T and -j don't go together!
Pass -h or --help for complete help.
[cpython]$ ./python -m test -j4 -l
usage: python -m test [options] [test_name1 [test_name2 ...]]
python path/to/Lib/test/regrtest.py [options] [test_name1 [test_name2 ...]]
regrtest.py: error: -l and -j don't go together!
Pass -h or --help for complete help.

But -j0 which also spawns multiple progresses fails the check.

----------
components: Tests
files: test-command-line-j0.patch
keywords: patch
messages: 283032
nosy: xiang.zhang
priority: normal
severity: normal
stage: patch review
status: open
title: -j0 fails the check -j are not allowed together with -T/-l
type: behavior
versions: Python 3.5, Python 3.6, Python 3.7
Added file: http://bugs.python.org/file45864/test-command-line-j0.patch

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


More information about the New-bugs-announce mailing list