mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
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.
This commit is contained in:
parent
8bb19f094b
commit
ecef622fec
4 changed files with 7 additions and 9 deletions
|
|
@ -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':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue