[issue35753] Importing call from unittest.mock directly causes ValueError

Alfred Perlstein report at bugs.python.org
Mon Mar 15 02:14:35 EDT 2021


Alfred Perlstein <alfred at freebsd.org> added the comment:

I have a patch here that fixes this: https://github.com/python/cpython/pull/22981

It simply swallows the unwrap exception making doctest immune to such buggy objects.

Can someone help it get reviewed please?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35753>
_______________________________________


More information about the Python-bugs-list mailing list