summaryrefslogtreecommitdiff
path: root/tests/gis_tests
diff options
context:
space:
mode:
authorSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-12-13 09:19:12 +0100
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-01-15 22:28:37 +0100
commit4968f0012e7f97c613fcb71781c4e50874c31c15 (patch)
tree126a058421cf6acc214fe5e8e65e0433e9c2d3eb /tests/gis_tests
parentd5fec03dad035e88494bf55194cbbbe4b20b5e5b (diff)
Refs #35058 -- Removed OGRGeometry.coord_dim setter per deprecation timeline.
Diffstat (limited to 'tests/gis_tests')
-rw-r--r--tests/gis_tests/gdal_tests/test_geom.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/gis_tests/gdal_tests/test_geom.py b/tests/gis_tests/gdal_tests/test_geom.py
index 6c551d0804..919e547511 100644
--- a/tests/gis_tests/gdal_tests/test_geom.py
+++ b/tests/gis_tests/gdal_tests/test_geom.py
@@ -13,7 +13,6 @@ from django.contrib.gis.geos import GEOSException
from django.template import Context
from django.template.engine import Engine
from django.test import SimpleTestCase
-from django.utils.deprecation import RemovedInDjango60Warning
from ..test_data import TestDataMixin
@@ -1063,13 +1062,3 @@ class OGRGeomTest(SimpleTestCase, TestDataMixin):
)
self.assertIsInstance(geom, CurvePolygon)
self.assertIsInstance(geom.shell, CircularString)
-
-
-class DeprecationTests(SimpleTestCase):
- def test_coord_setter_deprecation(self):
- geom = OGRGeometry("POINT (1 2)")
- msg = "coord_dim setter is deprecated. Use set_3d() instead."
- with self.assertWarnsMessage(RemovedInDjango60Warning, msg) as ctx:
- geom.coord_dim = 3
- self.assertEqual(geom.coord_dim, 3)
- self.assertEqual(ctx.filename, __file__)