From acd7b34aafe352ef604edcb73f75041c5cbba6b9 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sat, 29 Jun 2013 18:34:41 +0200 Subject: Advanced deprecation warnings for Django 1.7. --- tests/cache/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/cache') diff --git a/tests/cache/tests.py b/tests/cache/tests.py index 7413a4aae6..060f27e6e2 100644 --- a/tests/cache/tests.py +++ b/tests/cache/tests.py @@ -28,7 +28,7 @@ from django.middleware.cache import (FetchFromCacheMiddleware, from django.template import Template from django.template.response import TemplateResponse from django.test import TestCase, TransactionTestCase, RequestFactory -from django.test.utils import override_settings, IgnorePendingDeprecationWarningsMixin +from django.test.utils import override_settings, IgnoreDeprecationWarningsMixin from django.utils import six, timezone, translation, unittest from django.utils.cache import (patch_vary_headers, get_cache_key, learn_cache_key, patch_cache_control, patch_response_headers) @@ -1594,7 +1594,7 @@ def hello_world_view(request, value): }, }, ) -class CacheMiddlewareTest(IgnorePendingDeprecationWarningsMixin, TestCase): +class CacheMiddlewareTest(IgnoreDeprecationWarningsMixin, TestCase): def setUp(self): super(CacheMiddlewareTest, self).setUp() -- cgit v1.3