def test_range_with_interval(self):
        dates1 = []
        for do in delorean.stops(delorean.DAILY, interval=2, count=3, start=datetime.utcnow()):
            do.truncate('minute')
            dates1.append(do)
        do = delorean.Delorean().truncate('minute')
        dates2 = []
        for x in range(6):
            if (2 % x) == 0:
                dates2.append(do.next_day(x))
        self.assertEqual(dates1, dates2)
dataset/ETHPy150Open myusuf3/delorean/tests/delorean_tests.py/DeloreanTests.test_range_with_interval/swapped operands of `%`