diff options
author | Brett Cannon <bcannon@gmail.com> | 2009-03-12 22:47:53 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2009-03-12 22:47:53 (GMT) |
commit | f87e04d3398091662c399ee5ba0a3e71dbae9a24 (patch) | |
tree | 2a9ce4a139f28c35e84f1d28d173b35f9cd18c77 /Lib/importlib/test/source/test_path_hook.py | |
parent | e9103d261990934a5e318b970b98e20035e5f8e6 (diff) | |
download | cpython-f87e04d3398091662c399ee5ba0a3e71dbae9a24.zip cpython-f87e04d3398091662c399ee5ba0a3e71dbae9a24.tar.gz cpython-f87e04d3398091662c399ee5ba0a3e71dbae9a24.tar.bz2 |
Finish properly hiding importlib implementation code.
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 9a4ccbe..71ca508 100644 --- a/Lib/importlib/test/source/test_path_hook.py +++ b/Lib/importlib/test/source/test_path_hook.py @@ -1,4 +1,4 @@ -import importlib +from importlib import _bootstrap from . import util as source_util import unittest @@ -10,7 +10,7 @@ class PathHookTest(unittest.TestCase): def test_success(self): # XXX Only work on existing directories? with source_util.create_modules('dummy') as mapping: - self.assert_(hasattr(importlib.FileFinder(mapping['.root']), + self.assert_(hasattr(_bootstrap._FileFinder(mapping['.root']), 'find_module')) |