def test_lefthand_subtraction(self):
        # LH Subtraction of floats and integers
        Number.objects.filter(pk=self.n.pk).update(integer=F('integer') - 15,
                                              float=42.7 - F('float'))

        self.assertEqual(Number.objects.get(pk=self.n.pk).integer, 27)
        self.assertEqual(Number.objects.get(pk=self.n.pk).float, Approximate(-27.200, places=3))
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/tests/expressions_regress/tests.py/ExpressionOperatorTests.test_lefthand_subtraction/swapped operands of `-`