mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import functools
|
||||
import re
|
||||
from unittest import mock
|
||||
|
||||
from django.apps import apps
|
||||
from django.conf import settings
|
||||
@@ -11,7 +12,7 @@ from django.db.migrations.graph import MigrationGraph
|
||||
from django.db.migrations.loader import MigrationLoader
|
||||
from django.db.migrations.questioner import MigrationQuestioner
|
||||
from django.db.migrations.state import ModelState, ProjectState
|
||||
from django.test import TestCase, mock, override_settings
|
||||
from django.test import TestCase, override_settings
|
||||
from django.test.utils import isolate_lru_cache
|
||||
|
||||
from .models import FoodManager, FoodQuerySet
|
||||
|
||||
Reference in New Issue
Block a user