Skip to content

Commit 9113833

Browse files
committed
Remove 3.3 block, use long options
1 parent 94a826d commit 9113833

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Tools/ssl/multissltests.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -387,13 +387,11 @@ def run_python_tests(self, tests, network=True):
387387
os.path.join(PYTHONROOT, 'Lib/test/ssltests.py'),
388388
'-j0'
389389
]
390-
elif sys.version_info < (3, 3):
391-
cmd = [sys.executable, '-m', 'test.regrtest']
392390
else:
393391
cmd = [sys.executable, '-m', 'test', '-j0']
394392
if network:
395-
cmd.extend(['-u', 'network', '-u', 'urlfetch'])
396-
cmd.extend(['-w', '-r'])
393+
cmd.extend(['--use', 'network', '--use', 'urlfetch'])
394+
cmd.extend(['--rerun', '--randomize'])
397395
cmd.extend(tests)
398396
self._subprocess_call(cmd, stdout=None)
399397

0 commit comments

Comments
 (0)