compat.doctest.UnexpectedException API [rev. 38799]

class UnexpectedException(Exception):

A DocTest example has encountered an unexpected exception The exception instance has variables: - test: the DocTest object being run - excample: the Example object that failed - exc_info: the exception info

class attributes and properties:

args: <attribute 'args' of 'exceptions.BaseException' objects>
message: <member 'message' of 'exceptions.BaseException' objects>

methods:

def __init__(self, test, example, exc_info):

*no docstring available*

def __str__(self):

*no docstring available*