mirror of https://github.com/django/django.git
Corrected warning filter in test_client_regress
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
027e3b554c
commit
27efda5f5b
|
@ -886,8 +886,7 @@ class ResponseTemplateDeprecationTests(TestCase):
|
|||
"""
|
||||
def setUp(self):
|
||||
self.save_warnings_state()
|
||||
warnings.filterwarnings('ignore', category=DeprecationWarning,
|
||||
module='django.test.client')
|
||||
warnings.filterwarnings('ignore', category=DeprecationWarning)
|
||||
|
||||
def tearDown(self):
|
||||
self.restore_warnings_state()
|
||||
|
|
Loading…
Reference in New Issue