diff --git a/tests/regressiontests/forms/localflavor/id.py b/tests/regressiontests/forms/localflavor/id.py index e17aa87856..247303aa36 100644 --- a/tests/regressiontests/forms/localflavor/id.py +++ b/tests/regressiontests/forms/localflavor/id.py @@ -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)