summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-05-31 11:31:51 -0400
committerTim Graham <timograham@gmail.com>2016-05-31 11:31:51 -0400
commit47f22e828618581ecd4203d369a939fdfcff3a8b (patch)
treecb333cad44548b7d28db6f35180442ee067104b0 /tests
parent62e4f8ec435a4b600c8efb071201070a2443477e (diff)
Fixed #25645 -- Dropped support for SpatiaLite < 4.0.
Diffstat (limited to 'tests')
-rw-r--r--tests/gis_tests/test_spatialrefsys.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/gis_tests/test_spatialrefsys.py b/tests/gis_tests/test_spatialrefsys.py
index c31b6280c3..f576758016 100644
--- a/tests/gis_tests/test_spatialrefsys.py
+++ b/tests/gis_tests/test_spatialrefsys.py
@@ -2,7 +2,6 @@ import re
import unittest
from django.contrib.gis.gdal import HAS_GDAL
-from django.db import connection
from django.test import mock, skipUnlessDBFeature
from django.utils import six
@@ -110,9 +109,7 @@ class SpatialRefSysTest(unittest.TestCase):
if postgis or spatialite:
srs = sr.srs
six.assertRegex(self, srs.proj4, sd['proj4_re'])
- # No `srtext` field in the `spatial_ref_sys` table in SpatiaLite < 4
- if not spatialite or connection.ops.spatial_version[0] >= 4:
- self.assertTrue(srs.wkt.startswith(sd['srtext']))
+ self.assertTrue(srs.wkt.startswith(sd['srtext']))
def test_ellipsoid(self):
"""