[issue30357] test_thread.test_save_exception_state_on_error(): Unhandled exception in thread: AMD64 Debian root 2.7

Grzegorz Grzywacz report at bugs.python.org
Sun May 14 19:57:36 EDT 2017


Grzegorz Grzywacz added the comment:

Problem is with test test_thread.ThreadRunningTests.test_save_exception_state_on_error when other tests leave threads runnig. 

test_save_exception_state_on_error relay on thread._get_count(), if this value decrease test assume thread is finished with is not always correct (other threads finish - started by different test).

Fix is to make sure each test wait for all threads to finsh.

----------
nosy: +grzgrzgrz3

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


More information about the Python-bugs-list mailing list