[issue24412] setUpClass equivalent for addCleanup
Robert Collins
report at bugs.python.org
Sun Sep 11 20:10:18 EDT 2016
Robert Collins added the comment:
Btw some things to be aware of in addressing this:
- we will need tests that catchable exceptions raised from a setUpModule or setUpClass cause cleanups already registered to run
- if (and I'd need to check this) setUpModule or setUpClass can nest - I think setUpModule may, in package.module contexts) - that non-local cleanups definitively run too
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24412>
_______________________________________
More information about the Python-bugs-list
mailing list