Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_runner
Function · 0.80
Calls
1
TestStats
Class · 0.85
Tested by
no test coverage detected