PyDocs

Nav

Development Tools

IGNORE_EXCEPTION_DETAIL

When specified, doctests expecting exceptions pass so long as an exception of the expected type is raised, even if the details (message and fully qualified exception name) don’t match.
Changed in 3.2
  • 3.2: IGNORE_EXCEPTION_DETAIL now also ignores any information relating to the module containing the exception under test.
0 Examples
No examples for doctest/IGNORE_EXCEPTION_DETAIL.
See Also
No see-alsos for doctest/IGNORE_EXCEPTION_DETAIL
0 Notes
No notes for IGNORE_EXCEPTION_DETAIL