def test_zope_interface(self): if not common.canImport('zope.interface'): self.skip = True # FIXME: interpret this return # FIXME: add _interface_coptimizations to blacklist self.check('test_zope_interface', '-q')
def testDispatch(self): if not common.canImport("dis"): # FIXME: no skip support return res = [] import dis for key, value in dis.opmap.items(): if not CodeChecks.DISPATCH[value]: res.append("opcode %d: %s not in CodeChecks.DISPATCH" % (value, key)) self.failIf(res, "\n".join(res))
def testDispatch(self): if not common.canImport('dis'): # FIXME: no skip support return res = [] import dis for key, value in dis.opmap.items(): if not CodeChecks.DISPATCH[value]: res.append("opcode %d: %s not in CodeChecks.DISPATCH" % (value, key)) self.failIf(res, "\n".join(res))
def test_zope_interface(self): if not common.canImport('zope.interface'): self.skip = True # FIXME: interpret this return self.check('test_zope_interface', '-q')
def test_zope_interface(self): if not common.canImport("zope.interface"): self.skip = True # FIXME: interpret this self.check("test_zope_interface", "-q")