def test_hash(self): self.assertEqual( statedict.hash_statedict(EXAMPLE_SDICT), EXAMPLE_HASH, )
def hash(self): return hash_statedict(self.cached_cdict)