Fix a Python 2.5-ism.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16982 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Alex Gaynor 2011-10-13 21:44:58 +00:00
parent 8c0eefd066
commit 5109ac3709
1 changed files with 17 additions and 10 deletions

View File

@ -1,14 +1,21 @@
from __future__ import absolute_import
from .error_messages import *
from .extra import *
from .error_messages import (FormsErrorMessagesTestCase,
ModelChoiceFieldErrorMessagesTestCase)
from .extra import FormsExtraTestCase, FormsExtraL10NTestCase
from .fields import FieldsTests
from .forms import *
from .formsets import *
from .input_formats import *
from .media import *
from .models import *
from .regressions import *
from .util import *
from .forms import FormsTestCase
from .formsets import (FormsFormsetTestCase, FormsetAsFooTests,
TestIsBoundBehavior, TestEmptyFormSet)
from .input_formats import (LocalizedTimeTests, CustomTimeInputFormatsTests,
SimpleTimeFormatTests, LocalizedDateTests, CustomDateInputFormatsTests,
SimpleDateFormatTests, LocalizedDateTimeTests,
CustomDateTimeInputFormatsTests, SimpleDateTimeFormatTests)
from .media import FormsMediaTestCase, StaticFormsMediaTestCase
from .models import (TestTicket12510, ModelFormCallableModelDefault,
FormsModelTestCase, RelatedModelFormTests)
from .regressions import FormsRegressionsTestCase
from .util import FormsUtilTestCase
from .validators import TestFieldWithValidators
from .widgets import *
from .widgets import (FormsWidgetTestCase, FormsI18NWidgetsTestCase,
WidgetTests, ClearableFileInputTests)