From 037d6540ecb7a60dca99162f6adedb2d879fa3ff Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Tue, 30 May 2017 14:22:40 +0200 Subject: [PATCH] Fixed gis_tests.geoapp test with incorrect geodetic coordinates. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The latitude coordinates exceed -90, 90 bounds and caused a test failure on Oracle 12.2. Thanks MichaƂ Wierzbowski for help preparing the patch. --- tests/gis_tests/geoapp/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gis_tests/geoapp/tests.py b/tests/gis_tests/geoapp/tests.py index 1ccac6fd1c..1e6d111ba5 100644 --- a/tests/gis_tests/geoapp/tests.py +++ b/tests/gis_tests/geoapp/tests.py @@ -66,7 +66,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