Back to index

python3.2  3.2.2
Classes | Functions
importlib.test.test_abc Namespace Reference

Classes

class  InheritanceTests
class  Finder
class  Loader
class  ResourceLoader
class  InspectLoader
class  ExecutionLoader
class  SourceLoader
class  PyLoader
class  PyPycLoader

Functions

def test_main

Function Documentation

Definition at line 77 of file test_abc.py.

00077 
00078 def test_main():
00079     from test.support import run_unittest
00080     classes = []
00081     for class_ in globals().values():
00082         if (inspect.isclass(class_) and
00083                 issubclass(class_, unittest.TestCase) and
00084                 issubclass(class_, InheritanceTests)):
00085             classes.append(class_)
00086     run_unittest(*classes)
00087 

Here is the call graph for this function: