diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2010-10-11 12:55:17 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2010-10-11 12:55:17 +0000 |
| commit | 121d2e36785dc0ce8e7d1c48883fc7b719b21afc (patch) | |
| tree | 7cddebe1474071a6fed69767378fc3433fd39dbb /tests/regressiontests/utils/module_loading.py | |
| parent | 1070c57b83efdfd4fbed09280fcdaafc6d9c1a81 (diff) | |
Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/utils/module_loading.py')
| -rw-r--r-- | tests/regressiontests/utils/module_loading.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/regressiontests/utils/module_loading.py b/tests/regressiontests/utils/module_loading.py index 4422f8f5d8..a9e2c7907b 100644 --- a/tests/regressiontests/utils/module_loading.py +++ b/tests/regressiontests/utils/module_loading.py @@ -1,11 +1,12 @@ import os import sys -import unittest from zipimport import zipimporter +from django.utils import unittest from django.utils.importlib import import_module from django.utils.module_loading import module_has_submodule + class DefaultLoader(unittest.TestCase): def test_loader(self): "Normal module existence can be tested" |
