summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2017-08-23 11:30:24 +0500
committerTim Graham <timograham@gmail.com>2017-08-24 14:08:35 -0400
commit1a85b07bddbf43da00311bdbb3ef5519a3165dc6 (patch)
treee794a00b0c063939f38f7e425e49bf0ca1549d1f /tests
parent481ba33cd2c507f523fbcfbdb250529949b5609c (diff)
Fixed #28518 -- Improved performance of loading geometries from DB.
Diffstat (limited to 'tests')
-rw-r--r--tests/gis_tests/geoapp/test_functions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gis_tests/geoapp/test_functions.py b/tests/gis_tests/geoapp/test_functions.py
index bbf29b0aff..0e644cefd6 100644
--- a/tests/gis_tests/geoapp/test_functions.py
+++ b/tests/gis_tests/geoapp/test_functions.py
@@ -248,7 +248,7 @@ class GISFunctionsTests(TestCase):
geom = Point(5, 23, srid=4326)
qs = Country.objects.annotate(inter=functions.Intersection('mpoly', geom))
for c in qs:
- if spatialite or (mysql and not connection.ops.uses_invalid_empty_geometry_collection) or oracle:
+ if spatialite or (mysql and not connection.features.supports_empty_geometry_collection) or oracle:
# When the intersection is empty, some databases return None.
expected = None
else: