Author: russellm
Date: 2010-11-01 18:46:37 -0500 (Mon, 01 Nov 2010)
New Revision: 14418

Modified:
   django/trunk/tests/regressiontests/forms/localflavor/id.py
Log:
Added a filter to silence the RuntimeWarning in the Indonesian localflavor 
tests. Thanks to Alex for the report.

Modified: django/trunk/tests/regressiontests/forms/localflavor/id.py
===================================================================
--- django/trunk/tests/regressiontests/forms/localflavor/id.py  2010-11-01 
22:18:50 UTC (rev 14417)
+++ django/trunk/tests/regressiontests/forms/localflavor/id.py  2010-11-01 
23:46:37 UTC (rev 14418)
@@ -4,6 +4,8 @@
 tests = r"""
 
 # IDPhoneNumberField ########################################################
+>>> import warnings
+>>> warnings.filterwarnings("ignore", category=RuntimeWarning, 
module='django.contrib.localflavor.id.id_choices')
 
 >>> from django.contrib.localflavor.id.forms import IDPhoneNumberField
 >>> f = IDPhoneNumberField(required=False)

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

Reply via email to