From 5109ac370928a5924887424b6d6c803038fcb691 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Thu, 13 Oct 2011 21:44:58 +0000 Subject: [PATCH] Fix a Python 2.5-ism. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16982 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/forms/tests/__init__.py | 27 ++++++++++++------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/tests/regressiontests/forms/tests/__init__.py b/tests/regressiontests/forms/tests/__init__.py index 721926ec20..8e2150cea3 100644 --- a/tests/regressiontests/forms/tests/__init__.py +++ b/tests/regressiontests/forms/tests/__init__.py @@ -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)