def test_freeze(self): """Tests the utils.freeze function""" self.assertEqual( ('a', 'b'), utils.freeze(['a', 'b']) )
def __hash__(self): return hash(freeze(self.__dict__))
def __hash__(self): return utils.hash_(utils.freeze(self.__dict__))