mirror of
https://github.com/django/django.git
synced 2025-10-26 15:16:09 +00:00
Fixed #18042 -- Advanced deprecation warnings.
Thanks Ramiro for the patch.
This commit is contained in:
@@ -70,7 +70,7 @@ class DecoratorsTest(TestCase):
|
||||
|
||||
def setUp(self):
|
||||
self.warning_state = get_warnings_state()
|
||||
warnings.filterwarnings('ignore', category=PendingDeprecationWarning,
|
||||
warnings.filterwarnings('ignore', category=DeprecationWarning,
|
||||
module='django.views.decorators.cache')
|
||||
|
||||
def tearDown(self):
|
||||
|
||||
Reference in New Issue
Block a user