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

@ -4,7 +4,7 @@ import shutil
import time
import warnings
from io import StringIO
from unittest import skipUnless
from unittest import mock, skipUnless
from admin_scripts.tests import AdminScriptTestCase
@ -14,7 +14,7 @@ from django.core.management.base import CommandError
from django.core.management.commands.makemessages import \
Command as MakeMessagesCommand
from django.core.management.utils import find_command
from django.test import SimpleTestCase, mock, override_settings
from django.test import SimpleTestCase, override_settings
from django.test.utils import captured_stderr, captured_stdout
from django.utils.encoding import force_text
from django.utils.translation import TranslatorCommentWarning