'Testing QuerySet.update() (#10411).'

def test_update(self):

    pnt = City.objects.get(name='Pueblo').point
    bak = pnt.clone()
    pnt.y += 0.005
    pnt.x += 0.005
    City.objects.filter(name='Pueblo').update(point=pnt)
    self.assertEqual(pnt, City.objects.get(name='Pueblo').point)
    City.objects.filter(name='Pueblo').update(point=bak)
    self.assertEqual(bak, City.objects.get(name='Pueblo').point)
