def test_reverse_index(self):
        length = len(self.iterable)
        expected = tuple([length-1-i for i in range(length)])
        actual = tuple(self.ctx.reverse_index for i in self.ctx)
        print(expected, actual)
        assert expected == actual, "The reverse_index is the number of "\
                "iterations until the end"
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Mako-0.8.1/test/test_loop.py/TestLoopContext.test_reverse_index/swapped operands of `-`