MCPcopy Index your code
hub / github.com/python/cpython / run_python_tests

Method run_python_tests

Tools/ssl/multissltests.py:398–413  ·  view source on GitHub ↗
(self, tests, network=True)

Source from the content-addressed store, hash-verified

396 raise ValueError(version)
397
398 def run_python_tests(self, tests, network=True):
399 if not tests:
400 cmd = [
401 sys.executable,
402 os.path.join(PYTHONROOT, 'Lib/test/ssltests.py'),
403 '-j0'
404 ]
405 elif sys.version_info < (3, 3):
406 cmd = [sys.executable, '-m', 'test.regrtest']
407 else:
408 cmd = [sys.executable, '-m', 'test', '-j0']
409 if network:
410 cmd.extend(['-u', 'network', '-u', 'urlfetch'])
411 cmd.extend(['-w', '-r'])
412 cmd.extend(tests)
413 self._subprocess_call(cmd, stdout=None)
414
415
416class BuildOpenSSL(AbstractBuilder):

Callers 1

mainFunction · 0.80

Calls 3

_subprocess_callMethod · 0.95
joinMethod · 0.45
extendMethod · 0.45

Tested by

no test coverage detected