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
This commit is contained in:
Russell Keith-Magee 2010-11-01 23:46:37 +00:00
parent 1ee4274ff1
commit 3d96540b80
1 changed files with 2 additions and 0 deletions

View File

@ -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)