summaryrefslogtreecommitdiff
path: root/tests/gis_tests/geoapp/test_functions.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gis_tests/geoapp/test_functions.py')
-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 b632d2cf61..e1a66d573e 100644
--- a/tests/gis_tests/geoapp/test_functions.py
+++ b/tests/gis_tests/geoapp/test_functions.py
@@ -690,7 +690,7 @@ class GISFunctionsTests(FuncTestMixin, TestCase):
)
def test_diff_intersection_union(self):
geom = Point(5, 23, srid=4326)
- qs = Country.objects.all().annotate(
+ qs = Country.objects.annotate(
difference=functions.Difference("mpoly", geom),
sym_difference=functions.SymDifference("mpoly", geom),
union=functions.Union("mpoly", geom),