mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.
This commit is contained in:
parent
042b7350a0
commit
7aba69145d
49 changed files with 97 additions and 81 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue