def runTest(self):
        h = self.hashmod.new()
        if self.oid==None:
            try:
                raised = 0
                a = h.oid
            except __HOLE__:
                raised = 1
            self.assertEqual(raised,1)
        else:
            self.assertEqual(h.oid, self.oid)
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pycrypto-2.6.1/lib/Crypto/SelfTest/Hash/common.py/HashTestOID.runTest