mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Separate out finder for source and source/bytecode.
This commit is contained in:
parent
2dee597e05
commit
4afab6b30b
4 changed files with 21 additions and 10 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue