PyDocs

Nav

Development Tools

UnexpectedException

doctest

exception (source)
  • UnexpectedException(test, example, exc_info)
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
Members of UnexpectedException

e

example
The Example that failed.
exc_info
A tuple containing information about the unexpected exception, as returned by sys.exc_info().

t

test
The DocTest object that was being run when the example failed.
0 Examples
No examples for doctest/UnexpectedException.
See Also
No see-alsos for doctest/UnexpectedException
0 Notes
No notes for UnexpectedException