PyDocs

Nav

Development Tools

DocTestFailure

doctest

exception (source)
  • DocTestFailure(test, example, got)
A DocTest example has failed in debugging mode.

The exception instance has variables:

- test: the DocTest object being run

- example: the Example object that failed

- got: the actual output
Members of DocTestFailure

e

example
The Example that failed.

g

got
The example’s actual output.

t

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