

def _callFUT(self, iface, target):
    from zope.interface.verify import verifyObject
    if isinstance(target, (type, type(OldSkool))):
        target = target()
    return verifyObject(iface, target)

dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/zope/interface/tests/test_verify.py Test_verifyObject._callFUT/original