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

Class WorkerError

Lib/test/libregrtest/run_workers.py:94–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92
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 3

read_stdoutMethod · 0.85
read_jsonMethod · 0.85
_runtestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…