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: <attribute 'message' of 'exceptions.BaseException' objects>
methods:
def __init__(self, test, example, exc_info):
*no docstring available*
arguments:
- self: <UNKNOWN>
- test: <UNKNOWN>
- example: <UNKNOWN>
- exc_info: <UNKNOWN>
return value:
<UNKNOWN>
source: compat/doctest.py
|
def __init__(self, test, example, exc_info): |
self.test = test |
self.example = example |
self.exc_info = exc_info | |
def __str__(self):
*no docstring available*
arguments:
return value:
<UNKNOWN>