summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBaptiste Mispelon <bmispelon@gmail.com>2013-11-24 16:43:24 +0100
committerBaptiste Mispelon <bmispelon@gmail.com>2013-11-24 16:45:01 +0100
commite681b2861d969eb5c5cd27ec8a9a14ebc8860bd1 (patch)
tree89454bc4ea0f29ba3388854da5704ff8fb64fb30 /tests
parentd47f794f8fa05591632b8cad4b134858e7ae140d (diff)
Fixed #21500 -- Removed imports of deprecated utils.importlib
Diffstat (limited to 'tests')
-rw-r--r--tests/view_tests/tests/test_debug.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/view_tests/tests/test_debug.py b/tests/view_tests/tests/test_debug.py
index 3805ce50e0..7be5b43a96 100644
--- a/tests/view_tests/tests/test_debug.py
+++ b/tests/view_tests/tests/test_debug.py
@@ -3,6 +3,7 @@
# files to search for such a header to decode the source file content
from __future__ import unicode_literals
+import importlib
import inspect
import os
import re
@@ -19,7 +20,7 @@ from django.test import TestCase, RequestFactory
from django.test.utils import (override_settings, setup_test_template_loader,
restore_template_loaders)
from django.utils.encoding import force_text, force_bytes
-from django.utils import importlib, six
+from django.utils import six
from django.views.debug import ExceptionReporter
from .. import BrokenException, except_args