Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 authored November 01, 2010
2  tests/regressiontests/forms/localflavor/id.py
@@ -4,6 +4,8 @@
4 4
 tests = r"""
5 5
 
6 6
 # IDPhoneNumberField ########################################################
  7
+>>> import warnings
  8
+>>> warnings.filterwarnings("ignore", category=RuntimeWarning, module='django.contrib.localflavor.id.id_choices')
7 9
 
8 10
 >>> from django.contrib.localflavor.id.forms import IDPhoneNumberField
9 11
 >>> f = IDPhoneNumberField(required=False)

0 notes on commit 3d96540

Please sign in to comment.
Something went wrong with that request. Please try again.