diff options
author | Brett Cannon <brett@python.org> | 2012-07-20 19:42:34 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2012-07-20 19:42:34 (GMT) |
commit | ed19fcec8983aafcb74bbb843f979854bdd253fa (patch) | |
tree | bed58fa624a978b70e3ac453ac602639606fd67e /Lib/test/test_namespace_pkgs.py | |
parent | 86ae981da9f86d516d0ac739376dd0c57b01dadf (diff) | |
download | cpython-ed19fcec8983aafcb74bbb843f979854bdd253fa.zip cpython-ed19fcec8983aafcb74bbb843f979854bdd253fa.tar.gz cpython-ed19fcec8983aafcb74bbb843f979854bdd253fa.tar.bz2 |
Fix another import error.
Diffstat (limited to 'Lib/test/test_namespace_pkgs.py')
-rw-r--r-- | Lib/test/test_namespace_pkgs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_namespace_pkgs.py b/Lib/test/test_namespace_pkgs.py index 6693d64..7067b12 100644 --- a/Lib/test/test_namespace_pkgs.py +++ b/Lib/test/test_namespace_pkgs.py @@ -3,7 +3,7 @@ import contextlib import unittest import os -import importlib.test.util +from test.test_importlib import util from test.support import run_unittest # needed tests: @@ -46,7 +46,7 @@ def namespace_tree_context(**kwargs): # use default meta_path and path_hooks unless specified otherwise kwargs.setdefault('meta_path', sys.meta_path) kwargs.setdefault('path_hooks', sys.path_hooks) - import_context = importlib.test.util.import_state(**kwargs) + import_context = util.import_state(**kwargs) with import_context, sys_modules_context(): yield |