Issue #14605: Rename _SourcelessFileLoader to SourcelessFileLoader.

This time also recreating the Python/importlib.h file to make
make happy. See the ticket for details.
This commit is contained in:
Marc-Andre Lemburg 2012-04-25 02:31:37 +02:00
parent ac8805a01a
commit 4fe29c9657
11 changed files with 1445 additions and 1448 deletions

View file

@ -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)