def test_lefthand_division(self):
        # LH Division of floats and integers
        Number.objects.filter(pk=self.n.pk).update(integer=F('integer') / 2,
                                              float=F('float') / 42.7)

        self.assertEqual(Number.objects.get(pk=self.n.pk).integer, 21)
        self.assertEqual(Number.objects.get(pk=self.n.pk).float, Approximate(0.363, places=3))
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/tests/expressions_regress/tests.py/ExpressionOperatorTests.test_lefthand_division/original