summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/test
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2009-02-21 03:31:35 (GMT)
committerBrett Cannon <bcannon@gmail.com>2009-02-21 03:31:35 (GMT)
commit4afab6b30b6262012946171fbcb69043c4b28efc (patch)
tree41b93494c5c79a251a12c30eabefa5cc8e0a33e8 /Lib/importlib/test
parent2dee597e0593a8f7b477f58afe5e46f94b994541 (diff)
downloadcpython-4afab6b30b6262012946171fbcb69043c4b28efc.zip
cpython-4afab6b30b6262012946171fbcb69043c4b28efc.tar.gz
cpython-4afab6b30b6262012946171fbcb69043c4b28efc.tar.bz2
Separate out finder for source and source/bytecode.
Diffstat (limited to 'Lib/importlib/test')
-rw-r--r--Lib/importlib/test/source/test_case_sensitivity.py2
-rw-r--r--Lib/importlib/test/source/test_finder.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/importlib/test/source/test_case_sensitivity.py b/Lib/importlib/test/source/test_case_sensitivity.py
index df6d3bc..210e620 100644
--- a/Lib/importlib/test/source/test_case_sensitivity.py
+++ b/Lib/importlib/test/source/test_case_sensitivity.py
@@ -19,7 +19,7 @@ class CaseSensitivityTest(unittest.TestCase):
assert name != name.lower()
def find(self, path):
- finder = importlib.PyFileFinder(path)
+ finder = importlib.PyPycFileFinder(path)
return finder.find_module(self.name)
def sensitivity_test(self):
diff --git a/Lib/importlib/test/source/test_finder.py b/Lib/importlib/test/source/test_finder.py
index 0cfb14f..1e4333c 100644
--- a/Lib/importlib/test/source/test_finder.py
+++ b/Lib/importlib/test/source/test_finder.py
@@ -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):