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

Method must_stop

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

Source from the content-addressed store, hash-verified

180 self.state = State.ENV_CHANGED
181
182 def must_stop(self, fail_fast: bool, fail_env_changed: bool) -> bool:
183 if State.must_stop(self.state):
184 return True
185 if fail_fast and self.is_failed(fail_env_changed):
186 return True
187 return False
188
189 def get_rerun_match_tests(self) -> FilterTuple | None:
190 match_tests = []

Callers

nothing calls this directly

Calls 2

is_failedMethod · 0.95
must_stopMethod · 0.45

Tested by

no test coverage detected