From aaacaeb0963c406c4fe6f68c6ae51f4a65878250 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 22 Jun 2015 13:54:35 -0400 Subject: Renamed RemovedInDjangoXYWarnings for new roadmap. Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more. --- tests/aggregation/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/aggregation') diff --git a/tests/aggregation/tests.py b/tests/aggregation/tests.py index 8f3c9fb410..5b0bcb82bc 100644 --- a/tests/aggregation/tests.py +++ b/tests/aggregation/tests.py @@ -13,7 +13,7 @@ from django.db.models import ( from django.test import TestCase, ignore_warnings from django.test.utils import Approximate, CaptureQueriesContext from django.utils import six, timezone -from django.utils.deprecation import RemovedInDjango20Warning +from django.utils.deprecation import RemovedInDjango110Warning from .models import Author, Book, Publisher, Store @@ -1068,7 +1068,7 @@ class AggregateTestCase(TestCase): self.assertQuerysetEqual( qs2, [1, 3], lambda v: v.num_awards) - @ignore_warnings(category=RemovedInDjango20Warning) + @ignore_warnings(category=RemovedInDjango110Warning) def test_backwards_compatibility(self): from django.db.models.sql import aggregates as sql_aggregates -- cgit v1.3