1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +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

@@ -1,5 +1,6 @@
import os
from io import StringIO
from unittest import mock
from admin_scripts.tests import AdminScriptTestCase
@@ -8,7 +9,7 @@ from django.core import management
from django.core.management import BaseCommand, CommandError, find_commands
from django.core.management.utils import find_command, popen_wrapper
from django.db import connection
from django.test import SimpleTestCase, mock, override_settings
from django.test import SimpleTestCase, override_settings
from django.test.utils import captured_stderr, extend_sys_path
from django.utils import translation