[issue24412] setUpClass equivalent for addCleanup
Robert Collins
report at bugs.python.org
Sun Sep 11 19:58:15 EDT 2016
Robert Collins added the comment:
So, thank you for the patch. However - there's no need for a metaclass here, and its actively harmful to comprehending the code.
As I suggested earlier, please decouple the cleanups implementation and then consume it from the two places that it will be needed (testcase and testsuite).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24412>
_______________________________________
More information about the Python-bugs-list
mailing list