summaryrefslogtreecommitdiff
path: root/tests/gis_tests/geos_tests
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-12-31 09:45:55 -0500
committerTim Graham <timograham@gmail.com>2017-01-17 20:52:02 -0500
commit7e63e84572f076c3cb2988d753a334e204116ddb (patch)
treebdaf22c1f301b8b6f3896bd5708fd80d903b696d /tests/gis_tests/geos_tests
parent997c9f709974ea79d9eb9e83eaf24e7bc0e7f9d4 (diff)
downloaddjango-7e63e84572f076c3cb2988d753a334e204116ddb.tar.gz
Refs #25773 -- Removed deprecated geos.MultiPolygon.cascaded_union property.
Diffstat (limited to 'tests/gis_tests/geos_tests')
-rw-r--r--tests/gis_tests/geos_tests/test_geos.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/gis_tests/geos_tests/test_geos.py b/tests/gis_tests/geos_tests/test_geos.py
index 4ee3c7309a..46583c9605 100644
--- a/tests/gis_tests/geos_tests/test_geos.py
+++ b/tests/gis_tests/geos_tests/test_geos.py
@@ -18,9 +18,8 @@ from django.contrib.gis.geos.libgeos import geos_version_info
from django.contrib.gis.shortcuts import numpy
from django.template import Context
from django.template.engine import Engine
-from django.test import SimpleTestCase, ignore_warnings, mock
+from django.test import SimpleTestCase, mock
from django.utils import six
-from django.utils.deprecation import RemovedInDjango20Warning
from django.utils.encoding import force_bytes
from django.utils.six.moves import range
@@ -1315,9 +1314,3 @@ class GEOSTest(SimpleTestCase, TestDataMixin):
self.assertEqual(p.transform(2774, clone=True), Point(srid=2774))
p.transform(2774)
self.assertEqual(p, Point(srid=2774))
-
- @ignore_warnings(category=RemovedInDjango20Warning)
- def test_deprecated_cascaded_union(self):
- for geom in self.geometries.multipolygons:
- mpoly = GEOSGeometry(geom.wkt)
- self.assertEqual(mpoly.cascaded_union, mpoly.unary_union)