summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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):
"""