Skip to content
Browse files

Corrected warning filter in test_client_regress

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 027e3b5 commit 27efda5f5b0dca23c244e7a8cb2b11361bc6dc58 @freakboy3742 freakboy3742 committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 tests/regressiontests/test_client_regress/models.py
View
3 tests/regressiontests/test_client_regress/models.py
@@ -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()

0 comments on commit 27efda5

Please sign in to comment.
Something went wrong with that request. Please try again.