Finish properly hiding importlib implementation code.

This commit is contained in:
Brett Cannon 2009-03-12 22:47:53 +00:00
parent e9103d2619
commit f87e04d339
12 changed files with 43 additions and 55 deletions

View file

@ -1,4 +1,4 @@
import importlib
from importlib import _bootstrap
from .. import abc
from . import util as source_util
import os
@ -32,7 +32,7 @@ class FinderTests(abc.FinderTests):
"""
def import_(self, root, module):
finder = importlib.PyPycFileFinder(root)
finder = _bootstrap._PyPycFileFinder(root)
return finder.find_module(module)
def run_test(self, test, create=None, *, compile_=None, unlink=None):