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

Method stop

Lib/unittest/result.py:181–183  ·  view source on GitHub ↗

Indicates that the tests should be aborted.

(self)

Source from the content-addressed store, hash-verified

179 len(self.unexpectedSuccesses) == 0))
180
181 def stop(self):
182 """Indicates that the tests should be aborted."""
183 self.shouldStop = True
184
185 def _exc_info_to_string(self, err, test):
186 """Converts a sys.exc_info()-style tuple of values into a string."""

Callers 3

addSubTestMethod · 0.95
test_stopMethod · 0.95
innerFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_stopMethod · 0.76