Author: russellm
Date: 2011-04-02 01:45:54 -0700 (Sat, 02 Apr 2011)
New Revision: 15994

Modified:
   django/trunk/tests/regressiontests/test_client_regress/models.py
Log:
Corrected warning filter in test_client_regress

Modified: django/trunk/tests/regressiontests/test_client_regress/models.py
===================================================================
--- django/trunk/tests/regressiontests/test_client_regress/models.py    
2011-04-02 08:45:38 UTC (rev 15993)
+++ django/trunk/tests/regressiontests/test_client_regress/models.py    
2011-04-02 08:45:54 UTC (rev 15994)
@@ -886,8 +886,7 @@
     """
     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()

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to