summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 2449650567..4b09cebb3e 100644
--- a/tests/gis_tests/geoapp/test_functions.py
+++ b/tests/gis_tests/geoapp/test_functions.py
@@ -214,7 +214,7 @@ class GISFunctionsTests(FuncTestMixin, TestCase):
def test_envelope(self):
countries = Country.objects.annotate(envelope=functions.Envelope('mpoly'))
for country in countries:
- self.assertIsInstance(country.envelope, Polygon)
+ self.assertTrue(country.envelope.equals(country.mpoly.envelope))
@skipUnlessDBFeature("has_ForcePolygonCW_function")
def test_force_polygon_cw(self):