def clean_semver(cls, version_spec):
        return re.sub(r"([<>=~])\s+?v?", "\\1", version_spec, re.IGNORECASE)
def test_should_encode_list(self):
        encoded = cypher_repr([1, 2.0, u"three"])
        assert encoded == u"[1, 2.0, 'three']"