mirror of https://github.com/django/django.git
[1.9.x] Refs #25438 -- Fixed two geoapp test failures on Oracle.
This commit is contained in:
parent
2e2e099a73
commit
5657000bfe
|
@ -177,7 +177,7 @@ class GISFunctionsTests(TestCase):
|
|||
qs = qs.exclude(name='Texas')
|
||||
|
||||
for c in qs:
|
||||
self.assertEqual(c.mpoly.difference(geom), c.diff)
|
||||
self.assertTrue(c.mpoly.difference(geom).equals(c.diff))
|
||||
|
||||
@skipUnlessDBFeature("has_Difference_function")
|
||||
def test_difference_mixed_srid(self):
|
||||
|
@ -188,7 +188,7 @@ class GISFunctionsTests(TestCase):
|
|||
if spatialite or oracle:
|
||||
qs = qs.exclude(name='Texas')
|
||||
for c in qs:
|
||||
self.assertEqual(c.mpoly.difference(geom), c.difference)
|
||||
self.assertTrue(c.mpoly.difference(geom).equals(c.difference))
|
||||
|
||||
@skipUnlessDBFeature("has_Envelope_function")
|
||||
def test_envelope(self):
|
||||
|
|
Loading…
Reference in New Issue