]> granicus.if.org Git - python/commitdiff
Add an inheritance test for importlib.abc.SourceLoader.
authorBrett Cannon <bcannon@gmail.com>
Mon, 28 Jun 2010 05:46:25 +0000 (05:46 +0000)
committerBrett Cannon <bcannon@gmail.com>
Mon, 28 Jun 2010 05:46:25 +0000 (05:46 +0000)
Lib/importlib/test/test_abc.py

index 5229ba4309ab679401162d273f73485053ea8fa2..0ecbe390ad62636ed7b3e8d5c78dae0d7650423b 100644 (file)
@@ -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]