mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Relaxed assertions to fix GIS test failures on Oracle 18c.
This commit is contained in:
committed by
Tim Graham
parent
b181aba7dd
commit
1508e71c5b
@@ -32,7 +32,8 @@ class RelatedGeoModelTest(TestCase):
|
||||
nm, st, lon, lat = ref
|
||||
self.assertEqual(nm, c.name)
|
||||
self.assertEqual(st, c.state)
|
||||
self.assertEqual(Point(lon, lat, srid=c.location.point.srid), c.location.point)
|
||||
self.assertAlmostEqual(lon, c.location.point.x, 6)
|
||||
self.assertAlmostEqual(lat, c.location.point.y, 6)
|
||||
|
||||
@skipUnlessDBFeature("supports_extent_aggr")
|
||||
def test_related_extent_aggregate(self):
|
||||
|
||||
Reference in New Issue
Block a user