mirror of
https://github.com/django/django.git
synced 2025-11-25 21:22:14 +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
|
|
@ -13,6 +13,7 @@ import sys
|
|||
import tempfile
|
||||
import unittest
|
||||
from io import StringIO
|
||||
from unittest import mock
|
||||
|
||||
import django
|
||||
from django import conf, get_version
|
||||
|
|
@ -24,7 +25,7 @@ from django.db import ConnectionHandler
|
|||
from django.db.migrations.exceptions import MigrationSchemaMissing
|
||||
from django.db.migrations.recorder import MigrationRecorder
|
||||
from django.test import (
|
||||
LiveServerTestCase, SimpleTestCase, TestCase, mock, override_settings,
|
||||
LiveServerTestCase, SimpleTestCase, TestCase, override_settings,
|
||||
)
|
||||
from django.utils.encoding import force_text
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue