summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/test/source
diff options
context:
space:
mode:
authorMarc-Andre Lemburg <mal@egenix.com>2012-04-25 00:11:07 (GMT)
committerMarc-Andre Lemburg <mal@egenix.com>2012-04-25 00:11:07 (GMT)
commitac8805a01a0beeb4c5b2f6d9d988629446517632 (patch)
tree508e1844c0372f19b7bcdbf22d9aeb7de1635ca6 /Lib/importlib/test/source
parent2945e78b05b8629969764842f73a845c1cbb2fb9 (diff)
downloadcpython-ac8805a01a0beeb4c5b2f6d9d988629446517632.zip
cpython-ac8805a01a0beeb4c5b2f6d9d988629446517632.tar.gz
cpython-ac8805a01a0beeb4c5b2f6d9d988629446517632.tar.bz2
Issue #14605: Revert renaming of _SourcelessFileLoader, since it caused
the buildbots to fail.
Diffstat (limited to 'Lib/importlib/test/source')
-rw-r--r--Lib/importlib/test/source/test_case_sensitivity.py2
-rw-r--r--Lib/importlib/test/source/test_file_loader.py2
-rw-r--r--Lib/importlib/test/source/test_finder.py2
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 f65f285..d4bae8d 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 c4c7545..764dcff 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 32ebd73..f5de58a 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)