From 275dd4ebbabbbe758c7219a3d666953d5a7b072f Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Thu, 10 Dec 2020 18:00:57 +0100 Subject: Fixed #32178 -- Allowed database backends to skip tests and mark expected failures. Co-authored-by: Tim Graham --- tests/aggregation/tests.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tests/aggregation') diff --git a/tests/aggregation/tests.py b/tests/aggregation/tests.py index ad4b94a7f9..0bced06ce9 100644 --- a/tests/aggregation/tests.py +++ b/tests/aggregation/tests.py @@ -1218,11 +1218,6 @@ class AggregateTestCase(TestCase): Subquery annotations must be included in the GROUP BY if they use potentially multivalued relations (contain the LOOKUP_SEP). """ - if connection.vendor == 'mysql' and 'ONLY_FULL_GROUP_BY' in connection.sql_mode: - self.skipTest( - 'GROUP BY optimization does not work properly when ' - 'ONLY_FULL_GROUP_BY mode is enabled on MySQL, see #31331.' - ) subquery_qs = Author.objects.filter( pk=OuterRef('pk'), book__name=OuterRef('book__name'), -- cgit v1.3