summaryrefslogtreecommitdiff
path: root/tests/regressiontests/decorators
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regressiontests/decorators')
-rw-r--r--tests/regressiontests/decorators/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/decorators/tests.py b/tests/regressiontests/decorators/tests.py
index 749df43e0c..ecec2812ab 100644
--- a/tests/regressiontests/decorators/tests.py
+++ b/tests/regressiontests/decorators/tests.py
@@ -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):