This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ezio.melotti, michael.foord, miguendes, python-dev, rbcollins, rtarpine, serhiy.storchaka, terry.reedy
Date 2021-08-27.20:28:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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.
Date User Action Args
2021-08-27 20:28:09serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, rbcollins, ezio.melotti, michael.foord, python-dev, rtarpine, miguendes
2021-08-27 20:28:09serhiy.storchakasetmessageid: <>
2021-08-27 20:28:09serhiy.storchakalinkissue43913 messages
2021-08-27 20:28:09serhiy.storchakacreate