summaryrefslogtreecommitdiff
path: root/tests/cache
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cache')
-rw-r--r--tests/cache/tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/cache/tests.py b/tests/cache/tests.py
index bfceff9b02..5c3ec0fe04 100644
--- a/tests/cache/tests.py
+++ b/tests/cache/tests.py
@@ -11,6 +11,7 @@ import threading
import time
import unittest
import warnings
+from unittest import mock
from django.conf import settings
from django.core import management, signals
@@ -31,7 +32,7 @@ from django.template.context_processors import csrf
from django.template.response import TemplateResponse
from django.test import (
RequestFactory, SimpleTestCase, TestCase, TransactionTestCase,
- ignore_warnings, mock, override_settings,
+ ignore_warnings, override_settings,
)
from django.test.signals import setting_changed
from django.utils import timezone, translation