diff options
| author | Дилян Палаузов <Dilyan.Palauzov@db.com> | 2018-01-03 18:52:12 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-01-03 20:12:23 -0500 |
| commit | d7b2aa24f75434c2ce50100cfef3586071e0747a (patch) | |
| tree | 9074eb7522888e744f948c52174f367a4281c200 /tests/gis_tests/test_data.py | |
| parent | c2d0f8c084456b5073252a91eeb09ab3d7453b18 (diff) | |
Fixed #28982 -- Simplified code with and/or.
Diffstat (limited to 'tests/gis_tests/test_data.py')
| -rw-r--r-- | tests/gis_tests/test_data.py | 5 |
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) |
