aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/importlib/test/extension/test_path_hook.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/importlib/test/extension/test_path_hook.py')
-rw-r--r--Lib/importlib/test/extension/test_path_hook.py4
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