STINNER Victor added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30812>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to