From 27efda5f5b0dca23c244e7a8cb2b11361bc6dc58 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sat, 2 Apr 2011 08:45:54 +0000 Subject: [PATCH] Corrected warning filter in test_client_regress git-svn-id: http://code.djangoproject.com/svn/django/trunk@15994 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/test_client_regress/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/regressiontests/test_client_regress/models.py b/tests/regressiontests/test_client_regress/models.py index 12e4500a17..6757695fec 100644 --- a/tests/regressiontests/test_client_regress/models.py +++ b/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()