Now that subquery annotations aren't included in the GROUP BY unless explicitly grouped against, the test works on Oracle.
This commit is contained in:
parent
fb3f034f1c
commit
e595a713cc
|
@ -586,7 +586,6 @@ class NonAggregateAnnotationTestCase(TestCase):
|
||||||
[{'jacob_name': 'Jacob Kaplan-Moss', 'james_name': 'James Bennett'}],
|
[{'jacob_name': 'Jacob Kaplan-Moss', 'james_name': 'James Bennett'}],
|
||||||
)
|
)
|
||||||
|
|
||||||
@skipUnlessDBFeature('supports_subqueries_in_group_by')
|
|
||||||
def test_annotation_filter_with_subquery(self):
|
def test_annotation_filter_with_subquery(self):
|
||||||
long_books_qs = Book.objects.filter(
|
long_books_qs = Book.objects.filter(
|
||||||
publisher=OuterRef('pk'),
|
publisher=OuterRef('pk'),
|
||||||
|
|
Loading…
Reference in New Issue