Xavier de Gaye added the comment: test_logging fails also with the following backtrace:
====================================================================== FAIL: test_output (test.test_logging.UnixSocketHandlerTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/sdcard/org.bitbucket.pyona/lib/python3.7/test/test_logging.py", line 1527, in setUp SocketHandlerTest.setUp(self) File "/sdcard/org.bitbucket.pyona/lib/python3.7/test/test_logging.py", line 1442, in setUp BaseTest.setUp(self) File "/sdcard/org.bitbucket.pyona/lib/python3.7/test/test_logging.py", line 111, in setUp raise AssertionError('Unexpected handlers: %s' % hlist) AssertionError: Unexpected handlers: [<StreamHandler (NOTSET)>] This is because when a test fails or when it is skipped, the BaseTest.tearDown() method is not called and as a consequence the following test fails. ---------- nosy: +vinay.sajip _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29177> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com