diff options
author | Xiang Zhang <angwerzx@126.com> | 2016-12-19 13:01:33 (GMT) |
---|---|---|
committer | Xiang Zhang <angwerzx@126.com> | 2016-12-19 13:01:33 (GMT) |
commit | 270a21fda0c41ea120727140ac966a86f694eee4 (patch) | |
tree | 2195f8185cf1c79cbcf93d6b914ccc9574216319 /Lib/test/test_regrtest.py | |
parent | 509476b37085abda9c8cc0fba1451cb035e0b442 (diff) | |
download | cpython-270a21fda0c41ea120727140ac966a86f694eee4.zip cpython-270a21fda0c41ea120727140ac966a86f694eee4.tar.gz cpython-270a21fda0c41ea120727140ac966a86f694eee4.tar.bz2 |
Issue #28950: Disallow -j0 combined with -T/-l/-M in regrtest.
Diffstat (limited to 'Lib/test/test_regrtest.py')
-rw-r--r-- | Lib/test/test_regrtest.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_regrtest.py b/Lib/test/test_regrtest.py index ae18327..e2c2f2d 100644 --- a/Lib/test/test_regrtest.py +++ b/Lib/test/test_regrtest.py @@ -200,6 +200,9 @@ class ParseArgsTestCase(unittest.TestCase): self.checkError([opt, '2', '-T'], "don't go together") self.checkError([opt, '2', '-l'], "don't go together") self.checkError([opt, '2', '-M', '4G'], "don't go together") + self.checkError([opt, '0', '-T'], "don't go together") + self.checkError([opt, '0', '-l'], "don't go together") + self.checkError([opt, '0', '-M', '4G'], "don't go together") def test_coverage(self): for opt in '-T', '--coverage': |