Commit 3d96540b authored by Russell Keith-Magee's avatar Russell Keith-Magee
Browse files

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
parent 1ee4274f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)