Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment: The problem was caused by the logging.captureWarnings(True) call being left outside the "with warnings.catch_warnings()" during Brett's change to test_logging (r70975). Since logging.captureWarnings grabs warnings.showwarning, in order for warnings.catch_warnings to restore things to how they were before, ISTM that this capture needs to be inside the with.
Fix checked into trunk (r71221). ---------- nosy: +brett.cannon resolution: -> fixed status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5695> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com