Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
doctest.DocTestFailure Class Reference
Inheritance diagram for doctest.DocTestFailure:
Inheritance graph
Collaboration diagram for doctest.DocTestFailure:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def __str__

Public Attributes


Detailed Description

A DocTest example has failed in debugging mode.

The exception instance has variables:

- test: the DocTest object being run

- example: the Example object that failed

- got: the actual output

Definition at line 1628 of file

Constructor & Destructor Documentation

def doctest.DocTestFailure.__init__ (   self,

Definition at line 1639 of file

01640     def __init__(self, test, example, got):
01641         self.test = test
01642         self.example = example
01643 = got

Here is the caller graph for this function:

Member Function Documentation

Definition at line 1644 of file

01645     def __str__(self):
01646         return str(self.test)

Member Data Documentation

Definition at line 1641 of file

Definition at line 1642 of file

Definition at line 1640 of file

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