summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-12-31 09:36:46 -0500
committerTim Graham <timograham@gmail.com>2017-01-17 20:52:02 -0500
commit19d8e64ac357271e708f6db377975ee85b7e4342 (patch)
treee2b824e838632bb2c8ebd082cf9395a69480c143 /tests
parenta0149848f7c068bc8507d3ec6f93cd2b7256098a (diff)
Refs #25665 -- Removed deprecated getters/setters of Point coordinate properties.
Diffstat (limited to 'tests')
-rw-r--r--tests/gis_tests/geos_tests/test_geos.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/gis_tests/geos_tests/test_geos.py b/tests/gis_tests/geos_tests/test_geos.py
index 92f89ce88f..6a689188d2 100644
--- a/tests/gis_tests/geos_tests/test_geos.py
+++ b/tests/gis_tests/geos_tests/test_geos.py
@@ -1317,16 +1317,6 @@ class GEOSTest(SimpleTestCase, TestDataMixin):
self.assertEqual(p, Point(srid=2774))
@ignore_warnings(category=RemovedInDjango20Warning)
- def test_deprecated_point_coordinate_getters_setters(self):
- p = Point(1, 2, 3)
- self.assertEqual((p.get_x(), p.get_y(), p.get_z()), (p.x, p.y, p.z))
-
- p.set_x(3)
- p.set_y(2)
- p.set_z(1)
- self.assertEqual((p.x, p.y, p.z), (3, 2, 1))
-
- @ignore_warnings(category=RemovedInDjango20Warning)
def test_deprecated_point_tuple_getters_setters(self):
p = Point(1, 2, 3)
self.assertEqual(p.get_coords(), (p.x, p.y, p.z))