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

Method raise_if_failed

Lib/test/test_interpreters/utils.py:330–332  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

328 return getattr(self._final, name)
329
330 def raise_if_failed(self):
331 if self.exc is not None:
332 raise interpreters.ExecutionFailed(self.exc)
333
334
335def _captured_script(script, *, stdout=True, stderr=False, exc=False):

Callers 5

run_from_capiMethod · 0.80
run_temp_from_capiMethod · 0.80
test_successMethod · 0.80
test_in_threadMethod · 0.80
test_execMethod · 0.80

Calls

no outgoing calls

Tested by 3

test_successMethod · 0.64
test_in_threadMethod · 0.64
test_execMethod · 0.64