R. David Murray added the comment: Gah. Having hit send I of course had second thoughts. doctest is suppose to *report* bugs, so there *is* a doctest bug here: it should be capturing that and probably other errors and reporting them, instead of just producing a traceback, I think.
---------- resolution: third party -> stage: resolved -> needs patch status: closed -> open title: doctest crashes when accessing __wrapped__ fails other than AttributeError -> doctest terminates when accessing __wrapped__ raises an error versions: +Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25998> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com