diff options
Diffstat (limited to 'Lib/importlib/test/source/test_path_hook.py')
-rw-r--r-- | Lib/importlib/test/source/test_path_hook.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/importlib/test/source/test_path_hook.py b/Lib/importlib/test/source/test_path_hook.py index ef410779c01..5fa3fd909cc 100644 --- a/Lib/importlib/test/source/test_path_hook.py +++ b/Lib/importlib/test/source/test_path_hook.py @@ -1,5 +1,5 @@ import importlib -from .. import support +from . import util import unittest @@ -9,7 +9,7 @@ class PathHookTest(unittest.TestCase): def test_success(self): # XXX Only work on existing directories? - with support.create_modules('dummy') as mapping: + with util.create_modules('dummy') as mapping: self.assert_(hasattr(importlib.FileImporter(mapping['.root']), 'find_module')) |