1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.

This commit is contained in:
Tim Graham
2017-01-19 12:16:04 -05:00
parent 042b7350a0
commit 7aba69145d
49 changed files with 97 additions and 81 deletions

View File

@@ -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