summaryrefslogtreecommitdiff
path: root/tests/select_for_update
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/select_for_update
parent042b7350a080cc964f913faf1cf7f0097f650a58 (diff)
downloaddjango-7aba69145dcb436539a7798086748b73a39121e5.tar.gz
Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.
Diffstat (limited to 'tests/select_for_update')
-rw-r--r--tests/select_for_update/tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/select_for_update/tests.py b/tests/select_for_update/tests.py
index 7224124546..ac1d5b037e 100644
--- a/tests/select_for_update/tests.py
+++ b/tests/select_for_update/tests.py
@@ -1,5 +1,6 @@
import threading
import time
+from unittest import mock
from multiple_database.routers import TestRouter
@@ -7,7 +8,7 @@ from django.db import (
DatabaseError, connection, connections, router, transaction,
)
from django.test import (
- TransactionTestCase, mock, override_settings, skipIfDBFeature,
+ TransactionTestCase, override_settings, skipIfDBFeature,
skipUnlessDBFeature,
)
from django.test.utils import CaptureQueriesContext