summaryrefslogtreecommitdiff
path: root/tests/gis_tests/test_data.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gis_tests/test_data.py')
-rw-r--r--tests/gis_tests/test_data.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/gis_tests/test_data.py b/tests/gis_tests/test_data.py
index c1e1f5efec..dca847e8cb 100644
--- a/tests/gis_tests/test_data.py
+++ b/tests/gis_tests/test_data.py
@@ -62,10 +62,7 @@ class TestGeom(TestObj):
self.coords = tuplize(coords)
if centroid:
self.centroid = tuple(centroid)
- if ext_ring_cs:
- ext_ring_cs = tuplize(ext_ring_cs)
- self.ext_ring_cs = ext_ring_cs
-
+ self.ext_ring_cs = ext_ring_cs and tuplize(ext_ring_cs)
super().__init__(**kwargs)