diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2010-10-11 12:55:17 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2010-10-11 12:55:17 +0000 |
| commit | 121d2e36785dc0ce8e7d1c48883fc7b719b21afc (patch) | |
| tree | 7cddebe1474071a6fed69767378fc3433fd39dbb /tests/regressiontests/forms/validators.py | |
| parent | 1070c57b83efdfd4fbed09280fcdaafc6d9c1a81 (diff) | |
Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/forms/validators.py')
| -rw-r--r-- | tests/regressiontests/forms/validators.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/regressiontests/forms/validators.py b/tests/regressiontests/forms/validators.py index ed8e8fbd9a..cadf660ab8 100644 --- a/tests/regressiontests/forms/validators.py +++ b/tests/regressiontests/forms/validators.py @@ -1,8 +1,7 @@ -from unittest import TestCase - from django import forms from django.core import validators from django.core.exceptions import ValidationError +from django.utils.unittest import TestCase class TestFieldWithValidators(TestCase): |
