From b7183d8c1f777862a914f34b437ab4e1f517955f Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Mon, 28 Jun 2010 05:46:25 +0000 Subject: Add an inheritance test for importlib.abc.SourceLoader. --- Lib/importlib/test/test_abc.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Lib/importlib') 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] -- cgit v1.2.1