summaryrefslogtreecommitdiff
path: root/tests/cache
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-01-19 12:16:04 -0500
committerTim Graham <timograham@gmail.com>2017-01-20 08:17:20 -0500
commit7aba69145dcb436539a7798086748b73a39121e5 (patch)
tree8f1f4edeec13f02916366e8c961c3028ec0b6560 /tests/cache
parent042b7350a080cc964f913faf1cf7f0097f650a58 (diff)
Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.
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