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

Method is_failed

Lib/test/libregrtest/result.py:103–106  ·  view source on GitHub ↗
(self, fail_env_changed: bool)

Source from the content-addressed store, hash-verified

101 covered_lines: list[Location] | None = None
102
103 def is_failed(self, fail_env_changed: bool) -> bool:
104 if self.state == State.ENV_CHANGED:
105 return fail_env_changed
106 return State.is_failed(self.state)
107
108 def _format_failed(self):
109 ansi = get_colors()

Callers 1

must_stopMethod · 0.95

Calls 1

is_failedMethod · 0.45

Tested by

no test coverage detected