mirror of
https://github.com/django/django.git
synced 2025-07-22 18:49:25 +00:00
[1.8.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
This commit is contained in:
parent
8781713fd7
commit
31ddf51b52
@ -76,7 +76,7 @@ class GeoModelTest(TestCase):
|
|||||||
nullcity.delete()
|
nullcity.delete()
|
||||||
|
|
||||||
# Testing on a Polygon
|
# 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))
|
inner = LinearRing((40, 40), (40, 60), (60, 60), (60, 40), (40, 40))
|
||||||
|
|
||||||
# Creating a State object using a built Polygon
|
# Creating a State object using a built Polygon
|
||||||
|
Loading…
x
Reference in New Issue
Block a user