def test_delta_invalid_op_mod(self):
        raised = False
        try:
            r = repr(Experiment.objects.filter(end__lt=self.deltas[0]%F('start')))
        except TypeError:
            raised = True
        self.assertTrue(raised, "TypeError not raised on attempt to modulo divide datetime by timedelta.")
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/tests/expressions_regress/tests.py/FTimeDeltaTests.test_delta_invalid_op_mod/swapped operands of `%`