mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Applied ignore_warnings to Django tests
This commit is contained in:
@@ -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('/')
|
||||
|
||||
Reference in New Issue
Block a user