summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-05-13 12:21:44 -0400
committerTim Graham <timograham@gmail.com>2016-05-13 12:21:44 -0400
commitd7334b405fb0e677e79cb064074df68188f0ddb5 (patch)
treee288669345d3a80c49328de7344d88053e69add3
parente158ec0ba0b43cbe9b509d4ed5587fa3b2ae3cc6 (diff)
Refs #26333 -- Reverted inadvertent edits to fix tests.
-rw-r--r--tests/gis_tests/geos_tests/test_geos.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gis_tests/geos_tests/test_geos.py b/tests/gis_tests/geos_tests/test_geos.py
index 02943baf0d..98eabe8bee 100644
--- a/tests/gis_tests/geos_tests/test_geos.py
+++ b/tests/gis_tests/geos_tests/test_geos.py
@@ -1259,13 +1259,13 @@ class GEOSTest(SimpleTestCase, TestDataMixin):
ls = LineString(((0, 0), (1, 1)))
path, args, kwargs = ls.deconstruct()
self.assertEqual(path, 'django.contrib.gis.geos.linestring.LineString')
- self.assertEqual(args, (((0, 0), (1, 1))))
+ self.assertEqual(args, (((0, 0), (1, 1)),))
self.assertEqual(kwargs, {})
ls2 = LineString([Point(0, 0), Point(1, 1)], srid=4326)
path, args, kwargs = ls2.deconstruct()
self.assertEqual(path, 'django.contrib.gis.geos.linestring.LineString')
- self.assertEqual(args, ([Point(0, 0), Point(1, 1)]))
+ self.assertEqual(args, ([Point(0, 0), Point(1, 1)],))
self.assertEqual(kwargs, {'srid': 4326})
ext_coords = ((0, 0), (0, 1), (1, 1), (1, 0), (0, 0))