summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_regrtest.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-09-29 23:39:28 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-09-29 23:39:28 (GMT)
commitecef622fec197f4377b5b5ec58f80f5fd000210f (patch)
treed0e907554e83437d16d0b623f204d91a428b838c /Lib/test/test_regrtest.py
parent8bb19f094ba6ba12f70a6458729c911d93c85209 (diff)
downloadcpython-ecef622fec197f4377b5b5ec58f80f5fd000210f.zip
cpython-ecef622fec197f4377b5b5ec58f80f5fd000210f.tar.gz
cpython-ecef622fec197f4377b5b5ec58f80f5fd000210f.tar.bz2
Issue #25220, libregrtest: Call setup_python(ns) in the slaves
Slaves (child processes running tests for regrtest -jN) now inherit --memlimit/-M, --threshold/-t and --nowindows/-n options. * -M, -t and -n are now supported with -jN * Factorize code to run tests. * run_test_in_subprocess() now pass the whole "ns" namespace to the child process.
Diffstat (limited to 'Lib/test/test_regrtest.py')
-rw-r--r--Lib/test/test_regrtest.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/test_regrtest.py b/Lib/test/test_regrtest.py
index 54bbfe4..c277e10 100644
--- a/Lib/test/test_regrtest.py
+++ b/Lib/test/test_regrtest.py
@@ -214,7 +214,6 @@ 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, '2', '-M', '4G'], "don't go together")
def test_coverage(self):
for opt in '-T', '--coverage':