summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/test/builtin
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/builtin
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/builtin')
-rw-r--r--Lib/importlib/test/builtin/test_finder.py6
-rw-r--r--Lib/importlib/test/builtin/test_loader.py6
2 files changed, 6 insertions, 6 deletions
diff --git a/Lib/importlib/test/builtin/test_finder.py b/Lib/importlib/test/builtin/test_finder.py
index 70aed97..eacc36c 100644
--- a/Lib/importlib/test/builtin/test_finder.py
+++ b/Lib/importlib/test/builtin/test_finder.py
@@ -1,6 +1,6 @@
from importlib import machinery
from .. import abc
-from .. import support
+from .. import util
import sys
import unittest
@@ -14,7 +14,7 @@ class FinderTests(abc.FinderTests):
def test_module(self):
# Common case.
- with support.uncache(self.name):
+ with util.uncache(self.name):
self.assert_(machinery.BuiltinImporter.find_module(self.name))
def test_package(self):
@@ -40,7 +40,7 @@ class FinderTests(abc.FinderTests):
def test_ignore_path(self):
# The value for 'path' should always trigger a failed import.
- with support.uncache(self.name):
+ with util.uncache(self.name):
loader = machinery.BuiltinImporter.find_module(self.name, ['pkg'])
self.assert_(loader is None)
diff --git a/Lib/importlib/test/builtin/test_loader.py b/Lib/importlib/test/builtin/test_loader.py
index 3de0526..940529e 100644
--- a/Lib/importlib/test/builtin/test_loader.py
+++ b/Lib/importlib/test/builtin/test_loader.py
@@ -1,7 +1,7 @@
import importlib
from importlib import machinery
from .. import abc
-from .. import support
+from .. import util
import sys
import types
@@ -29,7 +29,7 @@ class LoaderTests(abc.LoaderTests):
def test_module(self):
# Common case.
- with support.uncache(self.name):
+ with util.uncache(self.name):
module = self.load_module(self.name)
self.verify(module)
@@ -47,7 +47,7 @@ class LoaderTests(abc.LoaderTests):
def test_module_reuse(self):
# Test that the same module is used in a reload.
- with support.uncache(self.name):
+ with util.uncache(self.name):
module1 = self.load_module(self.name)
module2 = self.load_module(self.name)
self.assert_(module1 is module2)