Back to index

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

List of all members.

Public Member Functions

def __init__
def __str__

Public Attributes


Detailed Description

A DocTest example has encountered an unexpected exception

The exception instance has variables:

- test: the DocTest object being run

- example: the Example object that failed

- exc_info: the exception info

Definition at line 1647 of file

Constructor & Destructor Documentation

def doctest.UnexpectedException.__init__ (   self,

Definition at line 1658 of file

01659     def __init__(self, test, example, exc_info):
01660         self.test = test
01661         self.example = example
01662         self.exc_info = exc_info

Here is the caller graph for this function:

Member Function Documentation

Definition at line 1663 of file

01664     def __str__(self):
01665         return str(self.test)

Member Data Documentation

Definition at line 1660 of file

Definition at line 1661 of file

Definition at line 1659 of file

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