def istest(self, predicate, exp):
        obj = eval(exp)
        self.failUnless(predicate(obj), '%s(%s)' % (predicate.__name__, exp))

        for other in self.predicates - set([predicate]):
            if predicate == inspect.isgeneratorfunction or\
               other == inspect.isfunction:
                continue
            self.failIf(other(obj), 'not %s(%s)' % (other.__name__, exp))
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_inspect.py/IsTestBase.istest/operator `and` -> `or`