summaryrefslogtreecommitdiff
path: root/tests/deprecation/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/deprecation/tests.py')
-rw-r--r--tests/deprecation/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/deprecation/tests.py b/tests/deprecation/tests.py
index dcd50a6d11..5cf06f0fdf 100644
--- a/tests/deprecation/tests.py
+++ b/tests/deprecation/tests.py
@@ -182,6 +182,7 @@ class DeprecatingRequestMergeDictTest(SimpleTestCase):
Ensure the correct warning is raised when WSGIRequest.REQUEST is
accessed.
"""
+ reset_warning_registry()
with warnings.catch_warnings(record=True) as recorded:
warnings.simplefilter('always')
request = RequestFactory().get('/')