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 xdegaye
Recipients vinay.sajip, xdegaye
Date 2017-01-06.12:05:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483704318.16.0.857791729842.issue29177@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-01-06 12:05:18xdegayesetrecipients: + xdegaye, vinay.sajip
2017-01-06 12:05:18xdegayesetmessageid: <1483704318.16.0.857791729842.issue29177@psf.upfronthosting.co.za>
2017-01-06 12:05:18xdegayelinkissue29177 messages
2017-01-06 12:05:17xdegayecreate