def test_delta_subtract(self):
        for i in range(len(self.deltas)):
            delta = self.deltas[i]
            test_set = [e.name for e in
                Experiment.objects.filter(start__gt=F('end')-delta)]
            self.assertEqual(test_set, self.expnames[:i])

            test_set = [e.name for e in
                Experiment.objects.filter(start__gte=delta-F('end'))]
            self.assertEqual(test_set, self.expnames[:i+1])
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/tests/expressions_regress/tests.py/FTimeDeltaTests.test_delta_subtract/swapped operands of `-`