summaryrefslogtreecommitdiffstats
path: root/Lib/importlib/test/finder_tests.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2009-01-30 00:22:35 (GMT)
committerBrett Cannon <bcannon@gmail.com>2009-01-30 00:22:35 (GMT)
commitf254a75176928e1d1228a5d20d49fbe2fe9f290a (patch)
tree7ec25bc4398a7258f0eb7810ffbad1b0ba8c3bd3 /Lib/importlib/test/finder_tests.py
parentb18b936e797379b13a15604a76bbb9e1e0bcf5fe (diff)
downloadcpython-f254a75176928e1d1228a5d20d49fbe2fe9f290a.zip
cpython-f254a75176928e1d1228a5d20d49fbe2fe9f290a.tar.gz
cpython-f254a75176928e1d1228a5d20d49fbe2fe9f290a.tar.bz2
Merge testing ABCs for importlib into importlib.test.abc.
Diffstat (limited to 'Lib/importlib/test/finder_tests.py')
-rw-r--r--Lib/importlib/test/finder_tests.py39
1 files changed, 0 insertions, 39 deletions
diff --git a/Lib/importlib/test/finder_tests.py b/Lib/importlib/test/finder_tests.py
deleted file mode 100644
index 3cf2c95..0000000
--- a/Lib/importlib/test/finder_tests.py
+++ /dev/null
@@ -1,39 +0,0 @@
-import abc
-import unittest
-
-
-class FinderTests(unittest.TestCase, metaclass=abc.ABCMeta):
-
- """Basic tests for a finder to pass."""
-
- @abc.abstractmethod
- def test_module(self):
- # Test importing a top-level module.
- pass
-
- @abc.abstractmethod
- def test_package(self):
- # Test importing a package.
- pass
-
- @abc.abstractmethod
- def test_module_in_package(self):
- # Test importing a module contained within a package.
- # A value for 'path' should be used if for a meta_path finder.
- pass
-
- @abc.abstractmethod
- def test_package_in_package(self):
- # Test importing a subpackage.
- # A value for 'path' should be used if for a meta_path finder.
- pass
-
- @abc.abstractmethod
- def test_package_over_module(self):
- # Test that packages are chosen over modules.
- pass
-
- @abc.abstractmethod
- def test_failure(self):
- # Test trying to find a module that cannot be handled.
- pass