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

Method do_test

Lib/test/test_audit.py:33–39  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

31 return p, p.stdout.read(), p.stderr.read()
32
33 def do_test(self, *args):
34 proc, stdout, stderr = self.run_test_in_subprocess(*args)
35
36 sys.stdout.write(stdout)
37 sys.stderr.write(stderr)
38 if proc.returncode:
39 self.fail(stderr)
40
41 def run_python(self, *args, expect_stderr=False):
42 events = []

Callers 14

test_basicMethod · 0.95
test_block_add_hookMethod · 0.95
test_marshalMethod · 0.95
test_pickleMethod · 0.95
test_monkeypatchMethod · 0.95
test_openMethod · 0.95
test_cantraceMethod · 0.95
test_mmapMethod · 0.95
test_posixsubprocessMethod · 0.95
test_import_moduleMethod · 0.95

Calls 3

writeMethod · 0.45
failMethod · 0.45

Tested by

no test coverage detected