Hello,

We are using doctest to give our developers easy access to write very fast unit tests and encourage "tests as documentation".

Recently we hit an issue where doctest crashes on certain objects that fail to "unwrap".

Looking at the code and reasoning behind the crash it seems like we can simply ignore a failed call to unwraps.

There is now a PR open against against trunk and 3.8 branch (happy to make a 3.9 branch PR as well) here:

trunk: https://github.com/python/cpython/pull/22981

3.8: https://github.com/python/cpython/pull/22834

Does anyone have time to review and/or comment on this?

Thank you,

-Alfred
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/HXN27UKPYB7E2MGKL2I32HFS7YKHNGUT/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to