def testHashInequal(self): a = CharObject(u'a') b = CharObject(u'b') self.assertNotEqual(a.hash(), b.hash())