mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Fixed #27788 -- Dropped support for Oracle < 12.1.
This commit is contained in:
parent
a6755b29e9
commit
0de0699d94
9 changed files with 23 additions and 42 deletions
|
@ -305,10 +305,8 @@ class GISFunctionsTests(TestCase):
|
|||
for c in mpoly_qs:
|
||||
self.assertEqual(c.mpoly.num_points, c.num_points)
|
||||
|
||||
if not oracle:
|
||||
# Oracle cannot count vertices in Point geometries.
|
||||
for c in City.objects.annotate(num_points=functions.NumPoints('point')):
|
||||
self.assertEqual(1, c.num_points)
|
||||
for c in City.objects.annotate(num_points=functions.NumPoints('point')):
|
||||
self.assertEqual(c.num_points, 1)
|
||||
|
||||
@skipUnlessDBFeature("has_PointOnSurface_function")
|
||||
def test_point_on_surface(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue