mirror of
https://github.com/django/django.git
synced 2025-11-02 21:03:53 +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 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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue