method: test.compat.TestCase.failIf

*Not documented*
def failIf(self, x):

origin: test.compat.TestCase

where:

function source:

def failIf(self, x):
    __tracebackhide__ = True
    if x:
        raise py.test.Item.Failed(msg='%s' % (x))