summaryrefslogtreecommitdiff
path: root/tests/cache
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-07-01 22:49:07 +0200
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-07-01 22:49:07 +0200
commite021b87c0009c11aa2e62b62fc40b4b0209a8e5d (patch)
tree289d9d35667705df39c2de8dfd1cdbc398f09c53 /tests/cache
parent09b446dfe86f01f9d21e8c6351a31c5587a5b7a9 (diff)
Fixed a few more imports of django.utils.unittest.
One import per line please! Refs #20680.
Diffstat (limited to 'tests/cache')
-rw-r--r--tests/cache/tests.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/cache/tests.py b/tests/cache/tests.py
index 060f27e6e2..bccac6b5a8 100644
--- a/tests/cache/tests.py
+++ b/tests/cache/tests.py
@@ -6,13 +6,14 @@ from __future__ import absolute_import, unicode_literals
import hashlib
import os
+import pickle
import random
import re
import string
import tempfile
import time
+import unittest
import warnings
-import pickle
from django.conf import settings
from django.core import management
@@ -29,7 +30,9 @@ from django.template import Template
from django.template.response import TemplateResponse
from django.test import TestCase, TransactionTestCase, RequestFactory
from django.test.utils import override_settings, IgnoreDeprecationWarningsMixin
-from django.utils import six, timezone, translation, unittest
+from django.utils import six
+from django.utils import timezone
+from django.utils import translation
from django.utils.cache import (patch_vary_headers, get_cache_key,
learn_cache_key, patch_cache_control, patch_response_headers)
from django.utils.encoding import force_text