From 2dee597e0593a8f7b477f58afe5e46f94b994541 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Sat, 21 Feb 2009 03:15:37 +0000 Subject: Do some cleanup in importlib: + Ditch using arguments to super(). + Ditch subclassing from object directly. + Move directory check out of chaining path hook to file path hook/finder. + Rename some classes to better reflect they are finders, not importers. --- Lib/importlib/test/source/test_case_sensitivity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/importlib/test/source/test_case_sensitivity.py') diff --git a/Lib/importlib/test/source/test_case_sensitivity.py b/Lib/importlib/test/source/test_case_sensitivity.py index 6bd86cfcd9c..df6d3bcff6e 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.PyFileImporter(path) + finder = importlib.PyFileFinder(path) return finder.find_module(self.name) def sensitivity_test(self): -- cgit v1.2.3