summaryrefslogtreecommitdiffstats
path: root/Lib/importlib
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2009-01-27 01:44:50 (GMT)
committerBrett Cannon <bcannon@gmail.com>2009-01-27 01:44:50 (GMT)
commitd197a2b136bdc72c954fb7b2ff849d56d4f0c138 (patch)
tree5886ff11f7733f9b98cf699a2d9c50af5d1406c4 /Lib/importlib
parent1d0b43d24e6d3e65c33c97fd0ef877ba172d446c (diff)
downloadcpython-d197a2b136bdc72c954fb7b2ff849d56d4f0c138.zip
cpython-d197a2b136bdc72c954fb7b2ff849d56d4f0c138.tar.gz
cpython-d197a2b136bdc72c954fb7b2ff849d56d4f0c138.tar.bz2
Move importlib.test.frozen.test_finder over to importlib.test.finder_tests.
Diffstat (limited to 'Lib/importlib')
-rw-r--r--Lib/importlib/test/frozen/test_finder.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/Lib/importlib/test/frozen/test_finder.py b/Lib/importlib/test/frozen/test_finder.py
index 8d8a8af..9dd54b4 100644
--- a/Lib/importlib/test/frozen/test_finder.py
+++ b/Lib/importlib/test/frozen/test_finder.py
@@ -1,11 +1,10 @@
-from importlib import machinery
-from ..builtin import test_finder
-from .. import support
+from ... import machinery
+from .. import finder_tests
import unittest
-class FinderTests(test_finder.FinderTests):
+class FinderTests(finder_tests.FinderTests):
"""Test finding frozen modules."""
@@ -13,7 +12,6 @@ class FinderTests(test_finder.FinderTests):
finder = machinery.FrozenImporter
return finder.find_module(name, path)
-
def test_module(self):
name = '__hello__'
loader = self.find(name)
@@ -28,6 +26,11 @@ class FinderTests(test_finder.FinderTests):
self.assert_(hasattr(loader, 'load_module'))
def test_package_in_package(self):
+ # No frozen package within another package to test with.
+ pass
+
+ def test_package_over_module(self):
+ # No easy way to test.
pass
def test_failure(self):