summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2018-07-09 20:02:12 +0500
committerTim Graham <timograham@gmail.com>2018-07-09 11:02:12 -0400
commit3411c5551aa4ec141eb214f2928db4b077b41dd3 (patch)
tree913a5f426863af662e2fb3de5a1a898a38c161a7 /tests
parentbdcde79c5f9b0fdacf509e3745e9911e4002025a (diff)
Refs #27472 -- Fixed crash during pickling of empty GEOS point.
Diffstat (limited to 'tests')
-rw-r--r--tests/gis_tests/geos_tests/test_geos.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/gis_tests/geos_tests/test_geos.py b/tests/gis_tests/geos_tests/test_geos.py
index 5f8d1c84b1..1924ccb356 100644
--- a/tests/gis_tests/geos_tests/test_geos.py
+++ b/tests/gis_tests/geos_tests/test_geos.py
@@ -1181,7 +1181,8 @@ class GEOSTest(SimpleTestCase, TestDataMixin):
tgeoms.extend(get_geoms(self.geometries.multilinestrings, 4326))
tgeoms.extend(get_geoms(self.geometries.polygons, 3084))
tgeoms.extend(get_geoms(self.geometries.multipolygons, 3857))
-
+ tgeoms.append(Point(srid=4326))
+ tgeoms.append(Point())
for geom in tgeoms:
s1 = pickle.dumps(geom)
g1 = pickle.loads(s1)