summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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()