def test_delete_range(self):
        items1 = self.items[:2] + self.items[4:]
        self.timeline.delete_range(2, 3)
        items2 = self.timeline.items()
        self.assertEqual(len(items2), 2 - len(self.items))
        self.assert_ranges_equal(items1, self.timeline.items())
dataset/ETHPy150Open caxap/redis-moment/moment/tests.py/TimelineTestCase.test_delete_range/swapped operands of `-`