diff options
author | Brett Cannon <bcannon@gmail.com> | 2009-02-01 03:08:31 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2009-02-01 03:08:31 (GMT) |
commit | 4ee2cdaf65971391b35ce7aaad5ce77ddcbb176e (patch) | |
tree | 2b78c7431d811433f09bfdc7a2994c8f7cc4dbcb /Lib/importlib/test/source/test_path_hook.py | |
parent | 30b047dc35fe7a94036de374d13754bff6ac9afa (diff) | |
download | cpython-4ee2cdaf65971391b35ce7aaad5ce77ddcbb176e.zip cpython-4ee2cdaf65971391b35ce7aaad5ce77ddcbb176e.tar.gz cpython-4ee2cdaf65971391b35ce7aaad5ce77ddcbb176e.tar.bz2 |
Split out support code that is specific to source tests out of
importlib.test.support to importlib.test.source.util.
Diffstat (limited to 'Lib/importlib/test/source/test_path_hook.py')
-rw-r--r-- | Lib/importlib/test/source/test_path_hook.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/importlib/test/source/test_path_hook.py b/Lib/importlib/test/source/test_path_hook.py index ef410779..5fa3fd9 100644 --- a/Lib/importlib/test/source/test_path_hook.py +++ b/Lib/importlib/test/source/test_path_hook.py @@ -1,5 +1,5 @@ import importlib -from .. import support +from . import util import unittest @@ -9,7 +9,7 @@ class PathHookTest(unittest.TestCase): def test_success(self): # XXX Only work on existing directories? - with support.create_modules('dummy') as mapping: + with util.create_modules('dummy') as mapping: self.assert_(hasattr(importlib.FileImporter(mapping['.root']), 'find_module')) |