diff options
| author | Pravin Kamble <iampbkamble@gmail.com> | 2026-02-17 18:08:00 +0530 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-02-19 11:33:48 -0500 |
| commit | 4139cb8d35cfcb2beba6a8c629c20016ae84cf18 (patch) | |
| tree | b523465b1d4c7f3abeadd5027f53c8f786278137 /tests/gis_tests | |
| parent | 4513a6c2a9694b3da144846f3edfa1c3673a181d (diff) | |
Fixed #36929 -- Dropped support for GEOS 3.9.
Thanks David Smith for report and Tim Graham for review.
Diffstat (limited to 'tests/gis_tests')
| -rw-r--r-- | tests/gis_tests/geos_tests/test_io.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/gis_tests/geos_tests/test_io.py b/tests/gis_tests/geos_tests/test_io.py index 419ecfc3b7..801d75e7f9 100644 --- a/tests/gis_tests/geos_tests/test_io.py +++ b/tests/gis_tests/geos_tests/test_io.py @@ -9,7 +9,6 @@ from django.contrib.gis.geos import ( WKTReader, WKTWriter, ) -from django.contrib.gis.geos.libgeos import geos_version_tuple from django.test import SimpleTestCase @@ -52,10 +51,7 @@ class GEOSIOTest(SimpleTestCase): def test_wktwriter_constructor_arguments(self): wkt_w = WKTWriter(dim=3, trim=True, precision=3) ref = GEOSGeometry("POINT (5.34562 23 1.5)") - if geos_version_tuple() > (3, 10): - ref_wkt = "POINT Z (5.346 23 1.5)" - else: - ref_wkt = "POINT Z (5.35 23 1.5)" + ref_wkt = "POINT Z (5.346 23 1.5)" self.assertEqual(ref_wkt, wkt_w.write(ref).decode()) def test03_wkbreader(self): |
