[issue26092] doctest should allow custom sys.displayhook

Sergey B Kirpichev report at bugs.python.org
Mon Apr 26 06:48:59 EDT 2021


Sergey B Kirpichev <skirpichev at gmail.com> added the comment:

> I personally haven't encountered this problem in the past years

Noam, that's because Python has your patch :-)

But if we revert one - mentioned solution with mock.patch will work.  Please, tell us if you find it bad for any reason.

----------

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


More information about the Python-bugs-list mailing list