[issue18526] Add resource management/guarding to unittest

Michael Foord report at bugs.python.org
Tue Jul 23 10:37:52 CEST 2013


Michael Foord added the comment:

My question is, is this generally useful enough for test suites beyond the Python standard library. Essentially it provides a command line interface to specialized test skipping. 

I *still* feel that a generalized mechanism for adding command line options to the standard test runner would allow for this and a myriad of other slightly specialized use cases. It's hard to see how to do that cleanly without full blown extension machinery (which I'm in favour of and have prototyped but it is a *much* bigger change set).

----------

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


More information about the Python-bugs-list mailing list