diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-09-07 15:20:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-07 15:20:42 (GMT) |
commit | 012f5b968a738b15ae9b40c499a1c0778b0615a9 (patch) | |
tree | 2bf6fcfbd6a3d21b0a15663044a0396d062ae9ee /Lib/test/test_regrtest.py | |
parent | 23e65b25557f957af840cf8fe68e80659ce28629 (diff) | |
download | cpython-012f5b968a738b15ae9b40c499a1c0778b0615a9.zip cpython-012f5b968a738b15ae9b40c499a1c0778b0615a9.tar.gz cpython-012f5b968a738b15ae9b40c499a1c0778b0615a9.tar.bz2 |
bpo-34605, libregrtest: Rename --slaveargs to --worker-args (GH-9099)
Rename also run_tests_slave() to run_tests_worker().
Diffstat (limited to 'Lib/test/test_regrtest.py')
-rw-r--r-- | Lib/test/test_regrtest.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_regrtest.py b/Lib/test/test_regrtest.py index af332ad..f923311 100644 --- a/Lib/test/test_regrtest.py +++ b/Lib/test/test_regrtest.py @@ -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': |