summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2025-10-17 15:34:05 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2025-10-17 19:25:47 +0200
commit915d10a57d00ff3a6a67e095d5779e82f2c1ffba (patch)
tree5f93e3ae596f4860a0d1fac269a13cd4a9474590
parentfa772f4014a57158c77f0f7b33cffba96dff1d04 (diff)
[6.0.x] Refs #35844 -- Relaxed GEOSIOTest.test02_wktwriter() test assertion.
Backport of 2d9c194d5a0d9ae746e16ee5f641e30d544dc31b from main
-rw-r--r--tests/gis_tests/geos_tests/test_io.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/gis_tests/geos_tests/test_io.py b/tests/gis_tests/geos_tests/test_io.py
index 14646ce385..419ecfc3b7 100644
--- a/tests/gis_tests/geos_tests/test_io.py
+++ b/tests/gis_tests/geos_tests/test_io.py
@@ -41,10 +41,7 @@ class GEOSIOTest(SimpleTestCase):
def test02_wktwriter(self):
# Creating a WKTWriter instance, testing its ptr property.
wkt_w = WKTWriter()
- msg = (
- "Incompatible pointer type: "
- "<class 'django.contrib.gis.geos.prototypes.io.LP_WKTReader_st'>."
- )
+ msg = "Incompatible pointer type: "
with self.assertRaisesMessage(TypeError, msg):
wkt_w.ptr = WKTReader.ptr_type()