summaryrefslogtreecommitdiff
path: root/tests/test_runner
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2013-07-29 15:50:58 +0200
committerClaude Paroz <claude@2xlibre.net>2013-07-29 17:10:22 +0200
commitfdd7a355bf053217d25b8d2189e37069c1304283 (patch)
tree3245c7060d2b7ac597b5e2cd9c114eae0166bd19 /tests/test_runner
parentac0955876089002f0f60857d09fe1c94d67eca4f (diff)
Deprecated django.utils.importlib
This was a shim for pre-Python 2.7 support.
Diffstat (limited to 'tests/test_runner')
-rw-r--r--tests/test_runner/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_runner/tests.py b/tests/test_runner/tests.py
index 72200e40d3..48651b37ff 100644
--- a/tests/test_runner/tests.py
+++ b/tests/test_runner/tests.py
@@ -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