summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/test/source/test_path_hook.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2009-02-01 04:00:05 (GMT)
committerBrett Cannon <bcannon@gmail.com>2009-02-01 04:00:05 (GMT)
commitbcb26c53c095c7bcd0e5415088e25dbd27f12592 (patch)
tree35240e335dd91a385c13935ddc64b33d9c17a8ad /Lib/importlib/test/source/test_path_hook.py
parentae9ad186d058c5700d0692e2f3b026e95639f5cf (diff)
downloadcpython-bcb26c53c095c7bcd0e5415088e25dbd27f12592.zip
cpython-bcb26c53c095c7bcd0e5415088e25dbd27f12592.tar.gz
cpython-bcb26c53c095c7bcd0e5415088e25dbd27f12592.tar.bz2
Rename importlib.test.support to importlib.test.util.
Diffstat (limited to 'Lib/importlib/test/source/test_path_hook.py')
-rw-r--r--Lib/importlib/test/source/test_path_hook.py4
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 5fa3fd9..5aac42e 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 util
+from . import util as source_util
import unittest
@@ -9,7 +9,7 @@ class PathHookTest(unittest.TestCase):
def test_success(self):
# XXX Only work on existing directories?
- with util.create_modules('dummy') as mapping:
+ with source_util.create_modules('dummy') as mapping:
self.assert_(hasattr(importlib.FileImporter(mapping['.root']),
'find_module'))