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:02 +0200
commit2d9c194d5a0d9ae746e16ee5f641e30d544dc31b (patch)
tree94801840c20f454d5806a1f22f2fb837f3691b48
parentf715bc8990b5b8a1df948c2b71e8edbdda47e7db (diff)
Refs #35844 -- Relaxed GEOSIOTest.test02_wktwriter() test assertion.
-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()