DocTest

A collection of doctest examples that should be run in a single namespace. Each DocTest defines the following attributes:


Methods

f __init__(self, examples, globs, name, filename, lineno, docstring) ...

Create a new DocTest containing the given examples. The DocTest's globals are initialized with a copy of globs .

f __cmp__(self, other) ...

See the source for more information.