From 3e7adb62bf2435ed82995a015705ddfa7d0f5a35 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Wed, 15 Nov 2017 21:13:29 +0100 Subject: [PATCH] [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. --- tests/lookup/tests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/lookup/tests.py b/tests/lookup/tests.py index 0161782dbe..6279026185 100644 --- a/tests/lookup/tests.py +++ b/tests/lookup/tests.py @@ -2,6 +2,7 @@ import collections from datetime import datetime from math import ceil from operator import attrgetter +from unittest import skipIf from django.core.exceptions import FieldError from django.db import connection @@ -854,6 +855,7 @@ class LookupTests(TestCase): [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): self.assertCountEqual( Article.objects.filter(author=Author.objects.all()[1:2]),