mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +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
|
@ -2,6 +2,7 @@
|
|||
Tests for django test runner
|
||||
"""
|
||||
import unittest
|
||||
from unittest import mock
|
||||
|
||||
from admin_scripts.tests import AdminScriptTestCase
|
||||
|
||||
|
@ -10,7 +11,7 @@ from django.conf import settings
|
|||
from django.core.exceptions import ImproperlyConfigured
|
||||
from django.core.management import call_command
|
||||
from django.test import (
|
||||
TestCase, TransactionTestCase, mock, skipUnlessDBFeature, testcases,
|
||||
TestCase, TransactionTestCase, skipUnlessDBFeature, testcases,
|
||||
)
|
||||
from django.test.runner import DiscoverRunner
|
||||
from django.test.testcases import connections_support_transactions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue