mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Issue #14605: Rename _SourcelessFileLoader to SourcelessFileLoader
This commit is contained in:
parent
a5798ded26
commit
2945e78b05
10 changed files with 15 additions and 18 deletions
|
@ -38,7 +38,7 @@ class FinderTests(abc.FinderTests):
|
|||
def import_(self, root, module):
|
||||
loader_details = [(_bootstrap.SourceFileLoader,
|
||||
_bootstrap._suffix_list(imp.PY_SOURCE), True),
|
||||
(_bootstrap._SourcelessFileLoader,
|
||||
(_bootstrap.SourcelessFileLoader,
|
||||
_bootstrap._suffix_list(imp.PY_COMPILED), True)]
|
||||
finder = _bootstrap.FileFinder(root, *loader_details)
|
||||
return finder.find_module(module)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue