Commit d197a2b1 authored by Brett Cannon's avatar Brett Cannon

Move importlib.test.frozen.test_finder over to importlib.test.finder_tests.

parent 1d0b43d2
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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment