Kaydet (Commit) 3d96540b authored tarafından Russell Keith-Magee's avatar Russell Keith-Magee

Added a filter to silence the RuntimeWarning in the Indonesian localflavor…

Added a filter to silence the RuntimeWarning in the Indonesian localflavor tests. Thanks to Alex for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14418 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 1ee4274f
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment