diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2017-05-30 14:22:40 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-05-30 08:22:40 -0400 |
| commit | 037d6540ecb7a60dca99162f6adedb2d879fa3ff (patch) | |
| tree | 79858f17d2d49d143508dfdb2bf7fada10980894 | |
| parent | f04495521ade8a2befc1aca70dd0a2c7aad4c987 (diff) | |
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.
| -rw-r--r-- | tests/gis_tests/geoapp/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
