Author vstinner
Recipients vstinner
Date 2017-06-30.10:49:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498819743.31.0.218920887132.issue30812@psf.upfronthosting.co.za>
In-reply-to
Content
Oh cool, my bisect tool identified the bug!

haypo@selma$ ./python -m test.bisect -o bisect test_warnings  test_warnings 
(...)
Tests (1):
* test.test_warnings._WarningsTests.test_showwarnmsg_missing
(...)
Bisection completed in 14 iterations and 0:00:14

So the bug is that test_showwarnmsg_missing() removes the warnings._showwarnmsg attribute, but don't restore it.

https://github.com/python/cpython/pull/2504 fixes the issue.
History
Date User Action Args
2017-06-30 10:49:03vstinnersetrecipients: + vstinner
2017-06-30 10:49:03vstinnersetmessageid: <1498819743.31.0.218920887132.issue30812@psf.upfronthosting.co.za>
2017-06-30 10:49:03vstinnerlinkissue30812 messages
2017-06-30 10:49:03vstinnercreate