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

Method is_failed

Lib/test/libregrtest/result.py:51–58  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

49
50 @staticmethod
51 def is_failed(state):
52 return state in {
53 State.FAILED,
54 State.UNCAUGHT_EXC,
55 State.REFLEAK,
56 State.WORKER_FAILED,
57 State.WORKER_BUG,
58 State.TIMEOUT}
59
60 @staticmethod
61 def has_meaningful_duration(state):

Callers 2

accumulate_resultMethod · 0.45
is_failedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected