(state)
| 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): |
no outgoing calls
no test coverage detected