mirror of
https://github.com/django/django.git
synced 2025-11-25 13:13:28 +00:00
Added supports_select_union skips in queries and aggregation tests.
This commit is contained in:
parent
cdcd604ef8
commit
6a85c888bf
3 changed files with 7 additions and 1 deletions
|
|
@ -2365,6 +2365,7 @@ class AggregateAnnotationPruningTests(TestCase):
|
|||
).aggregate(count=Count("id", filter=Q(id__in=[F("max_book_author"), 0])))
|
||||
self.assertEqual(aggregates, {"count": 1})
|
||||
|
||||
@skipUnlessDBFeature("supports_select_union")
|
||||
def test_aggregate_combined_queries(self):
|
||||
# Combined queries could have members in their values select mask while
|
||||
# others have them in their annotation mask which makes annotation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue