Module doctest :: Class DocTest
[hide private]
[frames] | no frames]

_ClassType DocTest

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

Instance Methods [hide private]
 
__init__(self, examples, globs, name, filename, lineno, docstring)
Create a new DocTest containing the given examples.
 
__repr__(self)
 
__cmp__(self, other)
Method Details [hide private]

__init__(self, examples, globs, name, filename, lineno, docstring)
(Constructor)

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