                  '"coordinates":[-123.305196,48.462611]}'
              )
  
          # Precision argument should only be an integer
          self.assertRaises(TypeError, City.objects.geojson, precision='foo')
  
          # Reference queries and values.
          # SELECT ST_AsGeoJson("geoapp_city"."point", 8, 0)
          # FROM "geoapp_city" WHERE "geoapp_city"."name" = 'Pueblo';
          self.assertEqual(pueblo_json, City.objects.geojson().get(name='Pueblo').geojson)
 
</s> remove         self.assertRaises(TypeError, City.objects.svg, precision='foo')
 </s> add         with self.assertRaises(TypeError):
            City.objects.svg(precision='foo') </s> remove         self.assertRaises(ValueError, qs.aggregate, Union('name'))
 </s> add         with self.assertRaises(ValueError):
            qs.aggregate(Union('name')) </s> remove         self.assertRaises(TypeError, CustomizableView.as_view, foobar="value")
 </s> add         with self.assertRaises(TypeError):
            CustomizableView.as_view(foobar="value") </s> remove         self.assertRaises(LayerMapError, lm.save, fid_range=fr, step=10)
 </s> add         with self.assertRaises(LayerMapError):
            lm.save(fid_range=fr, step=10) </s> remove             self.assertRaises(
                NotImplementedError,
                City.objects.all().aggregate, MakeLine('point')
            )
 </s> add             with self.assertRaises(NotImplementedError):
                City.objects.all().aggregate(MakeLine('point'))
        with self.assertRaises(TypeError):
            City.objects.geojson(precision='foo')
                  '"coordinates":[-123.305196,48.462611]}'
              )
  
          # Precision argument should only be an integer
        with self.assertRaises(TypeError):
            City.objects.geojson(precision='foo')
  
          # Reference queries and values.
          # SELECT ST_AsGeoJson("geoapp_city"."point", 8, 0)
          # FROM "geoapp_city" WHERE "geoapp_city"."name" = 'Pueblo';
          self.assertEqual(pueblo_json, City.objects.geojson().get(name='Pueblo').geojson)
keep keep keep keep replace keep keep keep keep keep
 Refs #26022 -- Used context manager version of assertRaises in tests. 
tests/gis_tests/geoapp/tests.py