Commit fd2efcba by John Eskew Committed by GitHub

Merge pull request #15435 from edx/jeskew/remove_another_1.9_deprecation_warning

Remove deprecated django.utils.importlib
parents bf0f7ce7 947e8142
......@@ -3,6 +3,7 @@
import json
import unittest
from datetime import datetime
from importlib import import_module
import ddt
import mock
......@@ -13,7 +14,6 @@ from django.core.urlresolvers import reverse
from django.test import TestCase, TransactionTestCase
from django.test.client import RequestFactory
from django.test.utils import override_settings
from django.utils.importlib import import_module
from mock import patch
import student
......
......@@ -59,7 +59,7 @@ def safe_cookie_test_session_patch():
"""
from django.apps import apps
from django.conf import settings
from django.utils.importlib import import_module
from importlib import import_module
from .middleware import SafeCookieData, SafeCookieError, SafeSessionMiddleware
if apps.is_installed('django.contrib.sessions'):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment