diff options
author | Brett Cannon <bcannon@gmail.com> | 2009-02-01 04:00:05 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2009-02-01 04:00:05 (GMT) |
commit | bcb26c53c095c7bcd0e5415088e25dbd27f12592 (patch) | |
tree | 35240e335dd91a385c13935ddc64b33d9c17a8ad /Lib/importlib/test/extension/test_loader.py | |
parent | ae9ad186d058c5700d0692e2f3b026e95639f5cf (diff) | |
download | cpython-bcb26c53c095c7bcd0e5415088e25dbd27f12592.zip cpython-bcb26c53c095c7bcd0e5415088e25dbd27f12592.tar.gz cpython-bcb26c53c095c7bcd0e5415088e25dbd27f12592.tar.bz2 |
Rename importlib.test.support to importlib.test.util.
Diffstat (limited to 'Lib/importlib/test/extension/test_loader.py')
-rw-r--r-- | Lib/importlib/test/extension/test_loader.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/importlib/test/extension/test_loader.py b/Lib/importlib/test/extension/test_loader.py index 51d6161..1e43fdd 100644 --- a/Lib/importlib/test/extension/test_loader.py +++ b/Lib/importlib/test/extension/test_loader.py @@ -1,7 +1,7 @@ import importlib from . import test_path_hook from .. import abc -from .. import support +from .. import util import sys import unittest @@ -18,7 +18,7 @@ class LoaderTests(abc.LoaderTests): return loader.load_module(fullname) def test_module(self): - with support.uncache(test_path_hook.NAME): + with util.uncache(test_path_hook.NAME): module = self.load_module(test_path_hook.NAME) for attr, value in [('__name__', test_path_hook.NAME), ('__file__', test_path_hook.FILEPATH)]: @@ -34,7 +34,7 @@ class LoaderTests(abc.LoaderTests): pass def test_module_reuse(self): - with support.uncache(test_path_hook.NAME): + with util.uncache(test_path_hook.NAME): module1 = self.load_module(test_path_hook.NAME) module2 = self.load_module(test_path_hook.NAME) self.assert_(module1 is module2) |