test_init_func (test.test_concurrent_futures.test_interpreter_pool.InterpreterPoolExecutorTest.test_init_func) ... 1.33s Warning -- threading_cleanup() failed to clean up threads in 1.0 seconds Warning -- before: thread count=0, dangling=2 Warning -- after: thread count=1, dangling=3 Warning -- Dangling thread: Warning -- Dangling thread: <_MainThread(MainThread, started 7931990784)> Warning -- Dangling thread: test_submit_func_globals (test.test_concurrent_futures.test_interpreter_pool.InterpreterPoolExecutorTest.test_submit_func_globals) ... 2.61s Warning -- threading_cleanup() failed to clean up threads in 1.0 seconds Warning -- before: thread count=0, dangling=1 Warning -- after: thread count=1, dangling=2 Warning -- Dangling thread: <_MainThread(MainThread, started 7931990784)> Warning -- Dangling thread: Re-running test.test_concurrent_futures.test_interpreter_pool in verbose mode ERROR: test_free_reference (test.test_concurrent_futures.test_interpreter_pool.InterpreterPoolExecutorTest.test_free_reference)