diff options
| author | Brett Cannon <bcannon@gmail.com> | 2009-02-07 02:06:43 (GMT) |
|---|---|---|
| committer | Brett Cannon <bcannon@gmail.com> | 2009-02-07 02:06:43 (GMT) |
| commit | 534b2cd176a0440b59980d97723e109638216c1c (patch) | |
| tree | ff57b132a27c308633c8a2f331650d1e50af2d15 /Lib/importlib/test/extension/test_finder.py | |
| parent | 36d1f3eb41a5903d11076e72080bb1971b6818bb (diff) | |
| download | cpython-534b2cd176a0440b59980d97723e109638216c1c.zip cpython-534b2cd176a0440b59980d97723e109638216c1c.tar.gz cpython-534b2cd176a0440b59980d97723e109638216c1c.tar.bz2 | |
Factor out helper code from importlib.test.extension.test_path_hook.
Diffstat (limited to 'Lib/importlib/test/extension/test_finder.py')
| -rw-r--r-- | Lib/importlib/test/extension/test_finder.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/importlib/test/extension/test_finder.py b/Lib/importlib/test/extension/test_finder.py index c22186c..7321e31 100644 --- a/Lib/importlib/test/extension/test_finder.py +++ b/Lib/importlib/test/extension/test_finder.py @@ -1,6 +1,6 @@ import importlib from .. import abc -from . import test_path_hook +from . import util import unittest @@ -9,11 +9,11 @@ class FinderTests(abc.FinderTests): """Test the finder for extension modules.""" def find_module(self, fullname): - importer = importlib.ExtensionFileImporter(test_path_hook.PATH) + importer = importlib.ExtensionFileImporter(util.PATH) return importer.find_module(fullname) def test_module(self): - self.assert_(self.find_module(test_path_hook.NAME)) + self.assert_(self.find_module(util.NAME)) def test_package(self): # Extension modules cannot be an __init__ for a package. |
