def _prev_index(self, s):
        self.set_index(max(0, self.index - 1))
def test_should_encode_list(self):
        encoded = cypher_repr([1, 2.0, u"three"])
        assert encoded == u"[1, 2.0, 'three']"