Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…lavor tests. Thanks to Alex for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14418 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 3d96540b80eeb6cd544a053e9076148457dbe0c4 1 parent 1ee4274
Russell Keith-Magee freakboy3742 authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  tests/regressiontests/forms/localflavor/id.py
2  tests/regressiontests/forms/localflavor/id.py
View
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.