Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
There are several other bugs in the code for cleaning up classes and modules: * Functions registered with addClassCleanup() are not called if tearDownClass is set to None or its look up raises AttributeError. * Buffering in TestResult blows up when functions registered with addClassCleanup() and addModuleCleanup() produce raise exceptions. * Buffering in TestResult does not buffer output of functions registered with addClassCleanup() and addModuleCleanup(). * TestSuite.debug() blows up if functions registered with addClassCleanup() and addModuleCleanup() raise exceptions. * Errors in setUpModule() and function registered with addModuleCleanup() are reported in wrong order. And several lesser bugs. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43913> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com