[issue25322] contextlib.suppress not tested for nested usage

Frazer McLean report at bugs.python.org
Tue Oct 6 09:08:31 EDT 2015


Frazer McLean added the comment:

I may not have been clear—I understand how context managers work with exceptions.

I'm just pointing out that the nested context manager isn't called, so those final two lines aren't testing anything, right?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25322>
_______________________________________


More information about the Python-bugs-list mailing list