summaryrefslogtreecommitdiff
path: root/tests/utils_tests/test_module_loading.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2014-03-22 21:08:59 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2014-03-22 21:12:58 +0100
commit232181d1c5307d9af5fc292682661e91439a9289 (patch)
tree707f74fc790b2d6a3d57c410107223db78814342 /tests/utils_tests/test_module_loading.py
parent74b34676468f2cbf0e5e996cca6f83fabe7a3f6d (diff)
Advanced deprecation warnings for 1.8.
Diffstat (limited to 'tests/utils_tests/test_module_loading.py')
-rw-r--r--tests/utils_tests/test_module_loading.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/utils_tests/test_module_loading.py b/tests/utils_tests/test_module_loading.py
index 48ba9c15ff..9cdaf8df09 100644
--- a/tests/utils_tests/test_module_loading.py
+++ b/tests/utils_tests/test_module_loading.py
@@ -8,7 +8,7 @@ from zipimport import zipimporter
from django.core.exceptions import ImproperlyConfigured
from django.test import SimpleTestCase, modify_settings
-from django.test.utils import IgnorePendingDeprecationWarningsMixin, extend_sys_path
+from django.test.utils import IgnoreDeprecationWarningsMixin, extend_sys_path
from django.utils import six
from django.utils.deprecation import RemovedInDjango19Warning
from django.utils.module_loading import (autodiscover_modules, import_by_path, import_string,
@@ -110,7 +110,7 @@ class EggLoader(unittest.TestCase):
self.assertRaises(ImportError, import_module, 'egg_module.sub1.sub2.no_such_module')
-class ModuleImportTestCase(IgnorePendingDeprecationWarningsMixin, unittest.TestCase):
+class ModuleImportTestCase(IgnoreDeprecationWarningsMixin, unittest.TestCase):
def test_import_by_path(self):
cls = import_by_path('django.utils.module_loading.import_by_path')
self.assertEqual(cls, import_by_path)