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

Method __init__

Lib/test/libregrtest/run_workers.py:95–102  ·  view source on GitHub ↗
(self,
                 test_name: TestName,
                 err_msg: str | None,
                 stdout: str | None,
                 state: str)

Source from the content-addressed store, hash-verified

93
94class WorkerError(Exception):
95 def __init__(self,
96 test_name: TestName,
97 err_msg: str | None,
98 stdout: str | None,
99 state: str):
100 result = TestResult(test_name, state=state)
101 self.mp_result = MultiprocessResult(result, stdout, err_msg)
102 super().__init__()
103
104
105_NOT_RUNNING = "<not running>"

Callers

nothing calls this directly

Calls 4

MultiprocessResultClass · 0.85
superClass · 0.85
TestResultClass · 0.70
__init__Method · 0.45

Tested by

no test coverage detected