From 0ddb4ebf7bfcc4730c80a772dd146a49ef6895f6 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Sat, 7 Sep 2019 19:28:19 +0200 Subject: Refs #14357 -- Made Meta.ordering not affect GROUP BY queries. Per deprecation timeline. --- tests/queries/test_explain.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'tests/queries') diff --git a/tests/queries/test_explain.py b/tests/queries/test_explain.py index 9428bd88e9..ad4ca988ee 100644 --- a/tests/queries/test_explain.py +++ b/tests/queries/test_explain.py @@ -2,11 +2,8 @@ import unittest from django.db import NotSupportedError, connection, transaction from django.db.models import Count -from django.test import ( - TestCase, ignore_warnings, skipIfDBFeature, skipUnlessDBFeature, -) +from django.test import TestCase, skipIfDBFeature, skipUnlessDBFeature from django.test.utils import CaptureQueriesContext -from django.utils.deprecation import RemovedInDjango31Warning from .models import Tag @@ -14,7 +11,6 @@ from .models import Tag @skipUnlessDBFeature('supports_explaining_query_execution') class ExplainTests(TestCase): - @ignore_warnings(category=RemovedInDjango31Warning) def test_basic(self): querysets = [ Tag.objects.filter(name='test'), -- cgit v1.3