From 4ee2cdaf65971391b35ce7aaad5ce77ddcbb176e Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Sun, 1 Feb 2009 03:08:31 +0000 Subject: Split out support code that is specific to source tests out of importlib.test.support to importlib.test.source.util. --- Lib/importlib/test/source/test_path_hook.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/importlib/test/source/test_path_hook.py') diff --git a/Lib/importlib/test/source/test_path_hook.py b/Lib/importlib/test/source/test_path_hook.py index ef410779c0..5fa3fd909c 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')) -- cgit v1.2.1