def __test__(self, list_, len_, result): self.assertEqual(serialize_list(list_, lambda h:serialize_hash(h, len_)), result)
def __test__(self, list_, result): self.assertEqual(serialize_list(list_, serialize_varchar), result)