From: Brett Cannon Date: Mon, 28 Jun 2010 05:46:25 +0000 (+0000) Subject: Add an inheritance test for importlib.abc.SourceLoader. X-Git-Tag: v3.2a1~407 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b7183d8c1f777862a914f34b437ab4e1f517955f;p=python Add an inheritance test for importlib.abc.SourceLoader. --- diff --git a/Lib/importlib/test/test_abc.py b/Lib/importlib/test/test_abc.py index 5229ba4309..0ecbe390ad 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]