[3.0.x] Refs #31660 -- Fixed annotations.tests crash on MySQL.

Follow up to be7a295141337189b9eceea506489bdfe07f199e.
This commit is contained in:
Mariusz Felisiak 2020-06-11 10:36:24 +02:00 committed by GitHub
parent 9ec6eca136
commit e2cdbc585a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.',
)