mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
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"""
|
||||
|
||||
# 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)
|
||||
|
Loading…
Reference in New Issue
Block a user