summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2024-09-19 17:15:22 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2025-11-22 12:20:00 +0100
commit789b07544798a9c83d0b74dce7c33fcd8d929a7d (patch)
treecde5f659d6e5ffd4a9e7b01148c58036a52322cc /tests
parente3038897992d1c47f70ffb84ec1109b8d6a68bb9 (diff)
Fixed #35774 -- Dropped support for GEOS 3.8.
GEOS 3.8 (released Oct-2019) will be more than 5 years old when Django 6.1 is released (Aug-2026).
Diffstat (limited to 'tests')
-rw-r--r--tests/gis_tests/geos_tests/test_geos.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/gis_tests/geos_tests/test_geos.py b/tests/gis_tests/geos_tests/test_geos.py
index 5ec997556b..025e4fb4f3 100644
--- a/tests/gis_tests/geos_tests/test_geos.py
+++ b/tests/gis_tests/geos_tests/test_geos.py
@@ -1295,11 +1295,9 @@ class GEOSTest(SimpleTestCase, TestDataMixin):
# Testing __getitem__ (doesn't work on Point or Polygon)
if isinstance(g, Point):
- # IndexError is not raised in GEOS 3.8.0.
- if geos_version_tuple() != (3, 8, 0):
- msg = "Invalid GEOS Geometry index:"
- with self.assertRaisesMessage(IndexError, msg):
- g.x
+ msg = "Invalid GEOS Geometry index:"
+ with self.assertRaisesMessage(IndexError, msg):
+ g.x
elif isinstance(g, Polygon):
lr = g.shell
self.assertEqual("LINEARRING EMPTY", lr.wkt)