mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue