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