MCPcopy Create free account
hub / github.com/ipython/ipython / knownfailer

Function knownfailer

IPython/external/decorators/_decorators.py:136–140  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

134 import nose
135
136 def knownfailer(*args, **kwargs):
137 if fail_condition:
138 raise KnownFailureTest(msg)
139 else:
140 return f(*args, **kwargs)
141 return nose.tools.make_decorator(f)(knownfailer)
142
143 return knownfail_decorator

Callers

nothing calls this directly

Calls 2

KnownFailureTestClass · 0.85
fFunction · 0.50

Tested by

no test coverage detected