summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2010-06-28 05:46:25 (GMT)
committerBrett Cannon <bcannon@gmail.com>2010-06-28 05:46:25 (GMT)
commitb7183d8c1f777862a914f34b437ab4e1f517955f (patch)
tree9d373341093ded64008aee983562590a1e72c4f5 /Lib
parent0cf9e6a6214d4418286a30e305fefad644b29c52 (diff)
downloadcpython-b7183d8c1f777862a914f34b437ab4e1f517955f.zip
cpython-b7183d8c1f777862a914f34b437ab4e1f517955f.tar.gz
cpython-b7183d8c1f777862a914f34b437ab4e1f517955f.tar.bz2
Add an inheritance test for importlib.abc.SourceLoader.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/importlib/test/test_abc.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/importlib/test/test_abc.py b/Lib/importlib/test/test_abc.py
index 5229ba4..0ecbe39 100644
--- a/Lib/importlib/test/test_abc.py
+++ b/Lib/importlib/test/test_abc.py
@@ -59,6 +59,11 @@ class ExecutionLoader(InheritanceTests, unittest.TestCase):
subclasses = [abc.PyLoader]
+class SourceLoader(InheritanceTests, unittest.TestCase):
+
+ superclasses = [abc.ResourceLoader, abc.ExecutionLoader]
+
+
class PyLoader(InheritanceTests, unittest.TestCase):
superclasses = [abc.Loader, abc.ResourceLoader, abc.ExecutionLoader]