

def test_that_serialization_works(self):
    curi = CrawlUri(url='http://localhost')
    serialized = serialize_crawl_uri(curi)
    deserialized = deserialize_crawl_uri(deserialized)
    self.assertEqual(curi, deserialized)

dataset/ETHPy150Open retresco/Spyder/test/test_messages.py TestMessages.test_that_serialization_works/VarMisuse@30/50 `serialized`->`deserialized`