1
0
mirror of https://github.com/django/django.git synced 2025-10-26 15:16:09 +00:00

Removed import * in tests.

Thanks to flake8 path/to/file.py | awk -F ' ' '{ print $5 }' | sort | uniq
This commit is contained in:
Tim Graham
2013-10-22 08:28:34 -04:00
parent 2110b31365
commit 8e2029f8dd
16 changed files with 76 additions and 16 deletions

View File

@@ -4,4 +4,4 @@ warnings.warn(
"The django.contrib.admin.util module has been renamed. "
"Use django.contrib.admin.utils instead.", PendingDeprecationWarning)
from django.contrib.admin.utils import *
from django.contrib.admin.utils import * # NOQA

View File

@@ -12,7 +12,9 @@ from django.test import TestCase
from django.test.utils import override_settings
from django.utils._os import upath
from django.contrib.formtools.tests.forms import *
from django.contrib.formtools.tests.forms import (
HashTestBlankForm, HashTestForm, TestForm,
)
success_string = "Done was called!"
success_string_encoded = success_string.encode()

View File

@@ -4,4 +4,4 @@ warnings.warn(
"The django.contrib.gis.db.backends.util module has been renamed. "
"Use django.contrib.gis.db.backends.utils instead.", PendingDeprecationWarning)
from django.contrib.gis.db.backends.utils import *
from django.contrib.gis.db.backends.utils import * # NOQA

View File

@@ -8,7 +8,7 @@ from unittest import skipUnless
from .. import HAS_GEOS
if HAS_GEOS:
from .. import *
from .. import fromstr, LinearRing, LineString, MultiPoint, Point, Polygon
from ..error import GEOSIndexError

View File

@@ -3,7 +3,7 @@ from __future__ import unicode_literals
import unittest
from django.contrib.webdesign.lorem_ipsum import *
from django.contrib.webdesign.lorem_ipsum import paragraphs, words
from django.template import loader, Context

View File

@@ -4,4 +4,4 @@ warnings.warn(
"The django.db.backends.util module has been renamed. "
"Use django.db.backends.utils instead.", PendingDeprecationWarning)
from django.db.backends.utils import *
from django.db.backends.utils import * # NOQA

View File

@@ -4,4 +4,4 @@ warnings.warn(
"The django.forms.util module has been renamed. "
"Use django.forms.utils instead.", PendingDeprecationWarning)
from django.forms.utils import *
from django.forms.utils import * # NOQA