Back to index

python3.2  3.2.2
Public Member Functions | Static Public Attributes
importlib.test.test_abc.Loader Class Reference
Inheritance diagram for importlib.test.test_abc.Loader:
Inheritance graph
Collaboration diagram for importlib.test.test_abc.Loader:
Collaboration graph

List of all members.

Public Member Functions

def test_subclasses
def test_superclasses

Static Public Attributes

list subclasses = [abc.PyLoader]
list superclasses = []

Detailed Description

Definition at line 39 of file

Member Function Documentation

Definition at line 20 of file

00021     def test_subclasses(self):
00022         # Test that the expected subclasses inherit.
00023         for subclass in self.subclasses:
00024             self.assertTrue(issubclass(subclass, self.__test),
00025                 "{0} is not a subclass of {1}".format(subclass, self.__test))

Here is the call graph for this function:

Definition at line 26 of file

00027     def test_superclasses(self):
00028         # Test that the class inherits from the expected superclasses.
00029         for superclass in self.superclasses:
00030             self.assertTrue(issubclass(self.__test, superclass),
00031                "{0} is not a superclass of {1}".format(superclass, self.__test))

Here is the call graph for this function:

Member Data Documentation

Reimplemented from importlib.test.test_abc.InheritanceTests.

Definition at line 41 of file

The documentation for this class was generated from the following file: