diff options
author | Brett Cannon <bcannon@gmail.com> | 2009-03-12 22:47:53 +0000 |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2009-03-12 22:47:53 +0000 |
commit | f87e04d3398091662c399ee5ba0a3e71dbae9a24 (patch) | |
tree | 2a9ce4a139f28c35e84f1d28d173b35f9cd18c77 /Lib/importlib/test/extension/test_path_hook.py | |
parent | e9103d261990934a5e318b970b98e20035e5f8e6 (diff) | |
download | cpython-f87e04d3398091662c399ee5ba0a3e71dbae9a24.tar.gz cpython-f87e04d3398091662c399ee5ba0a3e71dbae9a24.zip |
Finish properly hiding importlib implementation code.
Diffstat (limited to 'Lib/importlib/test/extension/test_path_hook.py')
-rw-r--r-- | Lib/importlib/test/extension/test_path_hook.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/importlib/test/extension/test_path_hook.py b/Lib/importlib/test/extension/test_path_hook.py index 76f4995ad8f..85329568a8f 100644 --- a/Lib/importlib/test/extension/test_path_hook.py +++ b/Lib/importlib/test/extension/test_path_hook.py @@ -1,4 +1,4 @@ -import importlib +from importlib import _bootstrap from . import util import collections @@ -14,7 +14,7 @@ class PathHookTests(unittest.TestCase): # XXX Should it only work for directories containing an extension module? def hook(self, entry): - return importlib.ExtensionFileFinder(entry) + return _bootstrap._ExtensionFileFinder(entry) def test_success(self): # Path hook should handle a directory where a known extension module |