diff --git a/tests/gis_tests/rasterapp/test_rasterfield.py b/tests/gis_tests/rasterapp/test_rasterfield.py index 2a6fe09f6a..794c67ec61 100644 --- a/tests/gis_tests/rasterapp/test_rasterfield.py +++ b/tests/gis_tests/rasterapp/test_rasterfield.py @@ -68,8 +68,8 @@ class RasterFieldTest(TransactionTestCase): rast=Func(F('rast'), function='ST_SetBandIsNoData'), ) r.refresh_from_db() - self.assertEquals(r.rast.bands[0].data(), [[no_data]]) - self.assertEquals(r.rast.bands[0].nodata_value, no_data) + self.assertEqual(r.rast.bands[0].data(), [[no_data]]) + self.assertEqual(r.rast.bands[0].nodata_value, no_data) def test_model_creation(self): """