Antoine Pitrou <[email protected]> added the comment:

Indeed if unit testing is the main use case, I don't really see the point of 
adding C code.  People can code a simple helper using 
`contextlib.contextmanager` in a couple of lines.

----------

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue31356>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to