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

Function inner

Lib/unittest/result.py:14–17  ·  view source on GitHub ↗
(self, *args, **kw)

Source from the content-addressed store, hash-verified

12def failfast(method):
13 @wraps(method)
14 def inner(self, *args, **kw):
15 if getattr(self, 'failfast', False):
16 self.stop()
17 return method(self, *args, **kw)
18 return inner
19
20STDOUT_LINE = '\nStdout:\n%s'

Callers

nothing calls this directly

Calls 2

methodFunction · 0.85
stopMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…