[issue24412] setUpClass equivalent for addCleanup
Serhiy Storchaka
report at bugs.python.org
Sat Jun 13 09:23:01 CEST 2015
Serhiy Storchaka added the comment:
addCleanup() is helpful because it can be used in test methods. addClassCleanup() and addModuleCleanup() can't be used in test methods, and setUpClass() and setUpModule() are used less than setUp(), therefore the benefit of these methods are less than of addCleanup().
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24412>
_______________________________________
More information about the Python-bugs-list
mailing list