[issue10788] test_logging failure

Vinay Sajip report at bugs.python.org
Sun Jan 2 12:46:30 CET 2011


Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:

I think I've found the problem: test_concurrent_futures calls logging.critical, which registers a StreamHandler. This only happens when _wait_on_event and _signal_event fail on Win32.

There should be no reason to call logging.critical in a test, especially as the next line is assert False, <message>.

Perhaps the lines were left in by mistake: reassigning to Brian Quinlan.

----------
assignee: vinay.sajip -> bquinlan
nosy: +bquinlan

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10788>
_______________________________________


More information about the Python-bugs-list mailing list