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

Method from_doctest

Lib/test/libregrtest/result.py:24–27  ·  view source on GitHub ↗
(results)

Source from the content-addressed store, hash-verified

22
23 @staticmethod
24 def from_doctest(results):
25 return TestStats(results.attempted,
26 results.failed,
27 results.skipped)
28
29 def accumulate(self, stats):
30 self.tests_run += stats.tests_run

Callers 1

regrtest_runnerFunction · 0.80

Calls 1

TestStatsClass · 0.85

Tested by

no test coverage detected