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:
parent
1ee4274ff1
commit
3d96540b80
|
@ -4,6 +4,8 @@
|
||||||
tests = r"""
|
tests = r"""
|
||||||
|
|
||||||
# IDPhoneNumberField ########################################################
|
# IDPhoneNumberField ########################################################
|
||||||
|
>>> import warnings
|
||||||
|
>>> warnings.filterwarnings("ignore", category=RuntimeWarning, module='django.contrib.localflavor.id.id_choices')
|
||||||
|
|
||||||
>>> from django.contrib.localflavor.id.forms import IDPhoneNumberField
|
>>> from django.contrib.localflavor.id.forms import IDPhoneNumberField
|
||||||
>>> f = IDPhoneNumberField(required=False)
|
>>> f = IDPhoneNumberField(required=False)
|
||||||
|
|
Loading…
Reference in New Issue