From a3917c323f503b6a632109eaf0ce71cf73bc0b85 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Sat, 7 Mar 2020 21:31:13 +0100 Subject: [PATCH] Replaced deprecated assertEquals() with assertEqual() in RasterFieldTest. --- tests/gis_tests/rasterapp/test_rasterfield.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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): """