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:
@@ -3,6 +3,7 @@ import importlib
|
||||
import io
|
||||
import os
|
||||
import sys
|
||||
from unittest import mock
|
||||
|
||||
from django.apps import apps
|
||||
from django.core.management import CommandError, call_command
|
||||
@@ -14,7 +15,7 @@ from django.db.migrations.exceptions import (
|
||||
InconsistentMigrationHistory, MigrationSchemaMissing,
|
||||
)
|
||||
from django.db.migrations.recorder import MigrationRecorder
|
||||
from django.test import mock, override_settings
|
||||
from django.test import override_settings
|
||||
from django.utils.encoding import force_text
|
||||
|
||||
from .models import UnicodeModel, UnserializableModel
|
||||
|
||||
Reference in New Issue
Block a user