Unverified Kaydet (Commit) 3e7adb62 authored tarafından Mariusz Felisiak's avatar Mariusz Felisiak

[2.0.x] Skipped test_exact_sliced_queryset_limit_one_offset on Oracle.

This required slicing on subquery with equal operator.

Thanks Tim Graham for the review.
üst 0b2eb44c
...@@ -2,6 +2,7 @@ import collections ...@@ -2,6 +2,7 @@ import collections
from datetime import datetime from datetime import datetime
from math import ceil from math import ceil
from operator import attrgetter from operator import attrgetter
from unittest import skipIf
from django.core.exceptions import FieldError from django.core.exceptions import FieldError
from django.db import connection from django.db import connection
...@@ -854,6 +855,7 @@ class LookupTests(TestCase): ...@@ -854,6 +855,7 @@ class LookupTests(TestCase):
[self.a1, self.a2, self.a3, self.a4] [self.a1, self.a2, self.a3, self.a4]
) )
@skipIf(connection.vendor == 'oracle', "Oracle doesn't support sliced subqueries with equal operator until #28670")
def test_exact_sliced_queryset_limit_one_offset(self): def test_exact_sliced_queryset_limit_one_offset(self):
self.assertCountEqual( self.assertCountEqual(
Article.objects.filter(author=Author.objects.all()[1:2]), Article.objects.filter(author=Author.objects.all()[1:2]),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment