diff options
| author | Xiang Zhang <angwerzx@126.com> | 2016-12-19 14:00:22 (GMT) |
|---|---|---|
| committer | Xiang Zhang <angwerzx@126.com> | 2016-12-19 14:00:22 (GMT) |
| commit | 772bf2ed831671dfd3afd507c2e9babd066d1024 (patch) | |
| tree | bb52c11b6edc7a12dd6c0b0db08ed2671ac8bcab /Lib/test/test_regrtest.py | |
| parent | 01e4c1175f4d0c9150f36dae4ca8ec0e6e4ac26b (diff) | |
| parent | 270a21fda0c41ea120727140ac966a86f694eee4 (diff) | |
| download | cpython-772bf2ed831671dfd3afd507c2e9babd066d1024.zip cpython-772bf2ed831671dfd3afd507c2e9babd066d1024.tar.gz cpython-772bf2ed831671dfd3afd507c2e9babd066d1024.tar.bz2 | |
Issue #28950: Disallow -j0 combined with -T/-l in regrtest.
Diffstat (limited to 'Lib/test/test_regrtest.py')
| -rw-r--r-- | Lib/test/test_regrtest.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_regrtest.py b/Lib/test/test_regrtest.py index 52909d8..751df15 100644 --- a/Lib/test/test_regrtest.py +++ b/Lib/test/test_regrtest.py @@ -226,6 +226,8 @@ class ParseArgsTestCase(unittest.TestCase): self.checkError([opt, 'foo'], 'invalid int value') self.checkError([opt, '2', '-T'], "don't go together") self.checkError([opt, '2', '-l'], "don't go together") + self.checkError([opt, '0', '-T'], "don't go together") + self.checkError([opt, '0', '-l'], "don't go together") def test_coverage(self): for opt in '-T', '--coverage': |
