diff options
| author | Claude Paroz <claude@2xlibre.net> | 2014-12-21 21:19:05 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2014-12-30 18:16:25 +0100 |
| commit | 51890ce8898f821d28f2f6fb6071c936e9bd88f0 (patch) | |
| tree | 6522c597d411086b0a5c2ec3dd7a1d9bc2feeafd /tests/deprecation | |
| parent | 66f9a74b4514bd259976ce8ee3a4e78288358a5f (diff) | |
Applied ignore_warnings to Django tests
Diffstat (limited to 'tests/deprecation')
| -rw-r--r-- | tests/deprecation/tests.py | 1 |
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('/') |
