mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Finish properly hiding importlib implementation code.
This commit is contained in:
parent
e9103d2619
commit
f87e04d339
12 changed files with 43 additions and 55 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue