1
0
mirror of https://github.com/django/django.git synced 2025-06-08 13:09:13 +00:00

[3.1.x] Refs #32007 -- Skipped test_q_expression_annotation_with_aggregation on Oracle.

Backport of 3a9f192b131f7a9b0fe5783c684b23015fa67cc8 from master
This commit is contained in:
Mariusz Felisiak 2020-09-16 11:47:02 +02:00
parent 1afc9b31bb
commit 5a03e14deb

View File

@ -186,6 +186,7 @@ class NonAggregateAnnotationTestCase(TestCase):
self.assertEqual(book.combined, 13410.0)
self.assertEqual(book.rating_count, 1)
@skipUnlessDBFeature('supports_boolean_expr_in_select_clause')
def test_q_expression_annotation_with_aggregation(self):
book = Book.objects.filter(isbn='159059725').annotate(
isnull_pubdate=ExpressionWrapper(