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.
doctest/IGNORE_EXCEPTION_DETAIL
IGNORE_EXCEPTION_DETAIL