Back to index

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

List of all members.

Public Member Functions

def test_subclasses
def test_superclasses

Static Public Attributes

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

Detailed Description

Definition at line 44 of file test_abc.py.


Member Function Documentation

Definition at line 20 of file test_abc.py.

00020 
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 test_abc.py.

00026 
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))
00032 

Here is the call graph for this function:


Member Data Documentation

Reimplemented from importlib.test.test_abc.InheritanceTests.

Definition at line 46 of file test_abc.py.


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