Mercurial > cpython-lru_cache-weakref
diff Lib/importlib/test/source/test_path_hook.py @ 51236:d85ef26efd10
Rename importlib.test.support to importlib.test.util.
| author | Brett Cannon <bcannon@gmail.com> |
|---|---|
| date | Sun, 01 Feb 2009 04:00:05 +0000 |
| parents | 4b3246c83e3f |
| children | a1faff74ff89 |
line wrap: on
line diff
--- a/Lib/importlib/test/source/test_path_hook.py Sun Feb 01 03:51:54 2009 +0000 +++ b/Lib/importlib/test/source/test_path_hook.py Sun Feb 01 04:00:05 2009 +0000 @@ -1,5 +1,5 @@ import importlib -from . import util +from . import util as source_util import unittest @@ -9,7 +9,7 @@ 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'))
