summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2015-11-07 14:43:33 +0100
committerClaude Paroz <claude@2xlibre.net>2015-11-07 16:06:08 +0100
commit194f893f02c2a597e5e59f171a281cdff470836f (patch)
treef818446a2fc79cc506c0384d11cc87b7703eda96 /tests
parenta98d08f9f8757f30c88683116c49a634a6c4308a (diff)
[1.9.x] Removed ability to pass a geometry string to GIS functions
This was a possible confusion source with column name arguments. Thanks Sergey Fedoseev for the suggestion.
Diffstat (limited to 'tests')
-rw-r--r--tests/gis_tests/distapp/tests.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/gis_tests/distapp/tests.py b/tests/gis_tests/distapp/tests.py
index 56e4711ab7..ef9cc65a2e 100644
--- a/tests/gis_tests/distapp/tests.py
+++ b/tests/gis_tests/distapp/tests.py
@@ -492,9 +492,7 @@ class DistanceFunctionsTests(TestCase):
dist_qs = [dist1]
else:
dist2 = SouthTexasCityFt.objects.annotate(distance=Distance('point', lagrange)).order_by('id')
- # Using EWKT string parameter.
- dist3 = SouthTexasCityFt.objects.annotate(distance=Distance('point', lagrange.ewkt)).order_by('id')
- dist_qs = [dist1, dist2, dist3]
+ dist_qs = [dist1, dist2]
# Original query done on PostGIS, have to adjust AlmostEqual tolerance
# for Oracle.