mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Advanced deprecation warnings for 1.8.
This commit is contained in:
parent
74b3467646
commit
232181d1c5
9 changed files with 24 additions and 22 deletions
4
tests/cache/tests.py
vendored
4
tests/cache/tests.py
vendored
|
@ -26,7 +26,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, override_settings
|
||||
from django.test.utils import IgnorePendingDeprecationWarningsMixin
|
||||
from django.test.utils import IgnoreDeprecationWarningsMixin
|
||||
from django.utils import six
|
||||
from django.utils import timezone
|
||||
from django.utils import translation
|
||||
|
@ -1176,7 +1176,7 @@ class CustomCacheKeyValidationTests(TestCase):
|
|||
}
|
||||
}
|
||||
)
|
||||
class GetCacheTests(IgnorePendingDeprecationWarningsMixin, TestCase):
|
||||
class GetCacheTests(IgnoreDeprecationWarningsMixin, TestCase):
|
||||
|
||||
def test_simple(self):
|
||||
from django.core.cache import caches, get_cache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue