def __str__(self):
        return "".join([self.package, self.version or ""])
def test_should_encode_list(self):
        encoded = cypher_repr([1, 2.0, u"three"])
        assert encoded == u"[1, 2.0, 'three']"