def _assertFalseTrue(self, method):
        for true in [1, True, 'cat', [1,2], (3,4)]:
            try:
                method(true, "failed on %r" % (true,))
            except self.failureException, e:
                if str(e) != "failed on %r" % (true,):
                    self.fail("Raised incorrect exception on %r: %r" % (true, e))
            else:
                self.fail("Call to failIf(%r) didn't fail" % (true,))
Perform the negative case test for C{failIf} or C{assertFalse}.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/trial/test/test_assertions.py/AssertFalseTests._assertFalseTrue