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):
|
def setUp(self):
|
||||||
self.save_warnings_state()
|
self.save_warnings_state()
|
||||||
warnings.filterwarnings('ignore', category=DeprecationWarning,
|
warnings.filterwarnings('ignore', category=DeprecationWarning)
|
||||||
module='django.test.client')
|
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
self.restore_warnings_state()
|
self.restore_warnings_state()
|
||||||
|
|
Loading…
Reference in New Issue