def test_unknown_hash(self):
        try:
            hashlib.new('spam spam spam spam spam')
        except __HOLE__:
            pass
        else:
            self.assertTrue(0 == "hashlib didn't reject bogus hash name")
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_hashlib.py/HashLibTestCase.test_unknown_hash