Separate out finder for source and source/bytecode.

This commit is contained in:
Brett Cannon 2009-02-21 03:31:35 +00:00
parent 2dee597e05
commit 4afab6b30b
4 changed files with 21 additions and 10 deletions

View file

@ -19,7 +19,7 @@ class CaseSensitivityTest(unittest.TestCase):
assert name != name.lower()
def find(self, path):
finder = importlib.PyFileFinder(path)
finder = importlib.PyPycFileFinder(path)
return finder.find_module(self.name)
def sensitivity_test(self):

View file

@ -32,7 +32,7 @@ class FinderTests(abc.FinderTests):
"""
def import_(self, root, module):
finder = importlib.PyFileFinder(root)
finder = importlib.PyPycFileFinder(root)
return finder.find_module(module)
def run_test(self, test, create=None, *, compile_=None, unlink=None):