mirror of
https://github.com/Hopiu/django.git
synced 2026-03-26 10:50:23 +00:00
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.
This commit is contained in:
parent
f04495521a
commit
037d6540ec
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue