[issue24412] setUpClass equivalent for addCleanup

Robert Collins report at bugs.python.org
Sat Jun 13 08:43:10 CEST 2015


Robert Collins added the comment:

It would be nice for symmetry. I mean, setUpClass isn't needed either, and we have it ;).

however, we actually have two contexts this would be called from - setUpClass and setUpModule; both share their internals. So we probably need a decoupled cleanups implementation, and two new binding points to it.

----------

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


More information about the Python-bugs-list mailing list