Author vstinner
Recipients vstinner
Date 2017-07-10.09:17:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The warning is a race condition which can be reproduced easily on Linux using attached test_handle_called_with_mp_queue-bug.patch, run:

haypo@selma$ ./python -m test --fail-env-changed  -m test_handle_called_with_mp_queue  test_logging
Run tests sequentially
0:00:00 load avg: 0.22 [1/1] test_logging
Warning -- threading_cleanup() failed to cleanup 20 threads after 0 sec (count: 20, dangling: 21)
Warning -- threading._dangling was modified by test_logging
  Before: <_weakrefset.WeakSet object at 0x7fe1df5302c8>
  After:  <_weakrefset.WeakSet object at 0x7fe1df5338e0> 
test_logging failed (env changed)

1 test altered the execution environment:

Total duration: 718 ms
Tests result: ENV CHANGED
Date User Action Args
2017-07-10 09:17:50vstinnersetrecipients: + vstinner
2017-07-10 09:17:50vstinnersetmessageid: <>
2017-07-10 09:17:50vstinnerlinkissue30886 messages
2017-07-10 09:17:50vstinnercreate