MCPcopy Index your code
hub / github.com/RustPython/RustPython / _coverage

Method _coverage

Lib/test/test_trace.py:381–384  ·  view source on GitHub ↗
(self, tracer, cmd=DEFAULT_SCRIPT)

Source from the content-addressed store, hash-verified

379 tests(unittest.TestResult())
380 '''
381 def _coverage(self, tracer, cmd=DEFAULT_SCRIPT):
382 tracer.run(cmd)
383 r = tracer.results()
384 r.write_results(show_missing=True, summary=True, coverdir=TESTFN)
385
386 @unittest.expectedFailure # TODO: RUSTPYTHON; AssertionError: 'pprint.py' not found in ''
387 @requires_resource('cpu')

Callers 3

test_coverageMethod · 0.95
test_coverage_ignoreMethod · 0.95
test_issue9936Method · 0.95

Calls 3

resultsMethod · 0.80
write_resultsMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected