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: " - "." - ) + msg = "Incompatible pointer type: " with self.assertRaisesMessage(TypeError, msg): wkt_w.ptr = WKTReader.ptr_type()