mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +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,7 +1,7 @@
|
|||
import sys
|
||||
from test import support
|
||||
import unittest
|
||||
import importlib
|
||||
from importlib import _bootstrap
|
||||
from .. import util
|
||||
from . import util as ext_util
|
||||
|
||||
|
@ -13,7 +13,7 @@ class ExtensionModuleCaseSensitivityTest(unittest.TestCase):
|
|||
good_name = ext_util.NAME
|
||||
bad_name = good_name.upper()
|
||||
assert good_name != bad_name
|
||||
finder = importlib.ExtensionFileFinder(ext_util.PATH)
|
||||
finder = _bootstrap._ExtensionFileFinder(ext_util.PATH)
|
||||
return finder.find_module(bad_name)
|
||||
|
||||
def test_case_sensitive(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue