1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Deprecated django.utils.importlib

This was a shim for pre-Python 2.7 support.
This commit is contained in:
Claude Paroz
2013-07-29 15:50:58 +02:00
parent ac09558760
commit fdd7a355bf
38 changed files with 64 additions and 49 deletions

View File

@@ -3,6 +3,7 @@ Tests for django test runner
"""
from __future__ import absolute_import, unicode_literals
from importlib import import_module
from optparse import make_option
import sys
import unittest
@@ -13,7 +14,6 @@ from django import db
from django.test import runner, TestCase, TransactionTestCase, skipUnlessDBFeature
from django.test.testcases import connections_support_transactions
from django.test.utils import IgnoreAllDeprecationWarningsMixin
from django.utils.importlib import import_module
from admin_scripts.tests import AdminScriptTestCase
from .models import Person