mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-34605, libregrtest: Rename --slaveargs to --worker-args (GH-9099)
Rename also run_tests_slave() to run_tests_worker().
This commit is contained in:
parent
23e65b2555
commit
012f5b968a
4 changed files with 15 additions and 15 deletions
|
@ -67,10 +67,10 @@ class ParseArgsTestCase(unittest.TestCase):
|
|||
ns = libregrtest._parse_args(['--wait'])
|
||||
self.assertTrue(ns.wait)
|
||||
|
||||
def test_slaveargs(self):
|
||||
ns = libregrtest._parse_args(['--slaveargs', '[[], {}]'])
|
||||
self.assertEqual(ns.slaveargs, '[[], {}]')
|
||||
self.checkError(['--slaveargs'], 'expected one argument')
|
||||
def test_worker_args(self):
|
||||
ns = libregrtest._parse_args(['--worker-args', '[[], {}]'])
|
||||
self.assertEqual(ns.worker_args, '[[], {}]')
|
||||
self.checkError(['--worker-args'], 'expected one argument')
|
||||
|
||||
def test_start(self):
|
||||
for opt in '-S', '--start':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue