mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Fixed a few more imports of django.utils.unittest.
One import per line please! Refs #20680.
This commit is contained in:
parent
09b446dfe8
commit
e021b87c00
8 changed files with 26 additions and 11 deletions
|
@ -4,6 +4,7 @@ from __future__ import absolute_import, unicode_literals
|
|||
import os
|
||||
import re
|
||||
import datetime
|
||||
import unittest
|
||||
try:
|
||||
from urllib.parse import urljoin
|
||||
except ImportError: # Python 2
|
||||
|
@ -31,7 +32,8 @@ from django.forms.util import ErrorList
|
|||
from django.template.response import TemplateResponse
|
||||
from django.test import TestCase
|
||||
from django.test.utils import patch_logger
|
||||
from django.utils import formats, translation, unittest
|
||||
from django.utils import formats
|
||||
from django.utils import translation
|
||||
from django.utils.cache import get_max_age
|
||||
from django.utils.encoding import iri_to_uri, force_bytes
|
||||
from django.utils.html import escape
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue