Jesús Cea Avión <j...@jcea.es> added the comment:

Consider too that if something goes bad enough in the test to skip the teardown 
method, the thread will be alive for a while, possibly contaminating some other 
tests, like you commented.

This is actually unsolvable, I think. Code that NEED to be executed with no 
other threads around could/should check the thread count and fail with a clear 
error message. So we at least can point to the real culprit.

----------

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

Reply via email to