diff options
author | Marc-Andre Lemburg <mal@egenix.com> | 2012-04-24 23:36:48 (GMT) |
---|---|---|
committer | Marc-Andre Lemburg <mal@egenix.com> | 2012-04-24 23:36:48 (GMT) |
commit | 2945e78b05b8629969764842f73a845c1cbb2fb9 (patch) | |
tree | 968c259c2d1cdc2610bd4397b5d2469f3599bce1 /Lib/importlib/test/source | |
parent | a5798ded26e3ad67946b7d8150a8e13b0075fbf8 (diff) | |
download | cpython-2945e78b05b8629969764842f73a845c1cbb2fb9.zip cpython-2945e78b05b8629969764842f73a845c1cbb2fb9.tar.gz cpython-2945e78b05b8629969764842f73a845c1cbb2fb9.tar.bz2 |
Issue #14605: Rename _SourcelessFileLoader to SourcelessFileLoader
Diffstat (limited to 'Lib/importlib/test/source')
-rw-r--r-- | Lib/importlib/test/source/test_case_sensitivity.py | 2 | ||||
-rw-r--r-- | Lib/importlib/test/source/test_file_loader.py | 2 | ||||
-rw-r--r-- | Lib/importlib/test/source/test_finder.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Lib/importlib/test/source/test_case_sensitivity.py b/Lib/importlib/test/source/test_case_sensitivity.py index d4bae8d..f65f285 100644 --- a/Lib/importlib/test/source/test_case_sensitivity.py +++ b/Lib/importlib/test/source/test_case_sensitivity.py @@ -24,7 +24,7 @@ class CaseSensitivityTest(unittest.TestCase): (_bootstrap.SourceFileLoader, _bootstrap._suffix_list(imp.PY_SOURCE), True), - (_bootstrap._SourcelessFileLoader, + (_bootstrap.SourcelessFileLoader, _bootstrap._suffix_list(imp.PY_COMPILED), True)) return finder.find_module(self.name) diff --git a/Lib/importlib/test/source/test_file_loader.py b/Lib/importlib/test/source/test_file_loader.py index 764dcff..c4c7545 100644 --- a/Lib/importlib/test/source/test_file_loader.py +++ b/Lib/importlib/test/source/test_file_loader.py @@ -379,7 +379,7 @@ class SourceLoaderBadBytecodeTest(BadBytecodeTest): class SourcelessLoaderBadBytecodeTest(BadBytecodeTest): - loader = _bootstrap._SourcelessFileLoader + loader = _bootstrap.SourcelessFileLoader def test_empty_file(self): def test(name, mapping, bytecode_path): diff --git a/Lib/importlib/test/source/test_finder.py b/Lib/importlib/test/source/test_finder.py index f5de58a..32ebd73 100644 --- a/Lib/importlib/test/source/test_finder.py +++ b/Lib/importlib/test/source/test_finder.py @@ -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) |