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

type DocTestFailure

              object --+        
                       |        
exceptions.BaseException --+    
                           |    
        exceptions.Exception --+
                               |
                              DocTestFailure

A DocTest example has failed in debugging mode.

The exception instance has variables:

Instance Methods [hide private]
 
__init__(self, test, example, got)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
__str__(self)
str(x)

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__

Properties [hide private]

Inherited from exceptions.BaseException: args, message

Method Details [hide private]

__init__(self, test, example, got)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: exceptions.BaseException.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: exceptions.BaseException.__str__
(inherited documentation)