def __repr__(self):
        return "<Requirement(package={package}, version='{version}')>".format(
            package=self.package, version=self.version)
def test_should_encode_list(self):
        encoded = cypher_repr([1, 2.0, u"three"])
        assert encoded == u"[1, 2.0, 'three']"