1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Dropped support for GEOS 3.4.

This commit is contained in:
Tim Graham
2019-02-09 08:40:55 -05:00
committed by GitHub
parent b2333426de
commit ea87a85fad
4 changed files with 3 additions and 19 deletions

View File

@@ -725,14 +725,6 @@ class GEOSTest(SimpleTestCase, TestDataMixin):
self.assertFalse(ls_not_closed.closed)
self.assertTrue(ls_closed.closed)
if geos_version_tuple() >= (3, 5):
self.assertFalse(MultiLineString(ls_closed, ls_not_closed).closed)
self.assertTrue(MultiLineString(ls_closed, ls_closed).closed)
with mock.patch('django.contrib.gis.geos.libgeos.geos_version', lambda: b'3.4.9'):
with self.assertRaisesMessage(GEOSException, "MultiLineString.closed requires GEOS >= 3.5.0."):
MultiLineString().closed
def test_srid(self):
"Testing the SRID property and keyword."
# Testing SRID keyword on Point