summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2020-06-11 10:36:24 +0200
committerGitHub <noreply@github.com>2020-06-11 10:36:24 +0200
commite2cdbc585a89e130d103307420acf34f232ba699 (patch)
treed5c00641f729277ea8c0ea9336b472ef55103805
parent9ec6eca136cbc906f55e5844732cde6ea55b2152 (diff)
[3.0.x] Refs #31660 -- Fixed annotations.tests crash on MySQL.
Follow up to be7a295141337189b9eceea506489bdfe07f199e.
-rw-r--r--tests/annotations/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/annotations/tests.py b/tests/annotations/tests.py
index 0c6381c773..bbd35fbd4f 100644
--- a/tests/annotations/tests.py
+++ b/tests/annotations/tests.py
@@ -636,7 +636,7 @@ class NonAggregateAnnotationTestCase(TestCase):
])
@skipIf(
- connection.vendor == 'mysql' and 'ONLY_FULL_GROUP_BY' in connection.sql_mode,
+ connection.vendor == 'mysql',
'GROUP BY optimization does not work properly when ONLY_FULL_GROUP_BY '
'mode is enabled on MySQL, see #31331.',
)