summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2017-05-30 14:22:40 +0200
committerTim Graham <timograham@gmail.com>2017-05-30 08:23:05 -0400
commit5688562f66b2074f7906e34326f54b1bba3f52a8 (patch)
tree6a78ab10976cdc9369e8a60baef2d83f8ec773fe
parent9b9a81024a4955d6d3fb9f440b89567bb1634090 (diff)
[1.11.x] Fixed gis_tests.geoapp test with incorrect geodetic coordinates.
The latitude coordinates exceed -90, 90 bounds and caused a test failure on Oracle 12.2. Thanks MichaƂ Wierzbowski for help preparing the patch. Backport of 037d6540ecb7a60dca99162f6adedb2d879fa3ff from master
-rw-r--r--tests/gis_tests/geoapp/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gis_tests/geoapp/tests.py b/tests/gis_tests/geoapp/tests.py
index b7deacf989..b6a5c2d0c8 100644
--- a/tests/gis_tests/geoapp/tests.py
+++ b/tests/gis_tests/geoapp/tests.py
@@ -68,7 +68,7 @@ class GeoModelTest(TestCase):
nullcity.delete()
# Testing on a Polygon
- shell = LinearRing((0, 0), (0, 100), (100, 100), (100, 0), (0, 0))
+ shell = LinearRing((0, 0), (0, 90), (100, 90), (100, 0), (0, 0))
inner = LinearRing((40, 40), (40, 60), (60, 60), (60, 40), (40, 40))
# Creating a State object using a built Polygon