~/develop/python/Lib/test> python test_threading.py {{{ test_PyThreadState_SetAsyncExc (__main__.ThreadTests) ... started worker thread trying nonsensical thread id waiting for worker thread to get started verifying worker hasn't exited attempting to raise asynch exception in worker waiting for worker to say it caught the exception all OK -- joining worker ok test_enumerate_after_join (__main__.ThreadTests) ... ok test_finalize_runnning_thread (__main__.ThreadTests) ... ok test_finalize_with_trace (__main__.ThreadTests) ... ok test_foreign_thread (__main__.ThreadTests) ... ok test_no_refcycle_through_target (__main__.ThreadTests) ... ok test_various_ops (__main__.ThreadTests) ... task will run for 1.0 usec 1 tasks are running task done task will run for 77.4 usec is finished. 0 tasks are running 1 tasks are running task task will run for 91.3 usec done 2 tasks are running task will run for 53.6 usectask is finished. 1 tasks are running 2done tasks are running is finished. 1 tasks are running task donetask will run for 59.4 usec is finished. 0 tasks are running 1 tasks are running task task will run for 74.5 usec done is finished. 0 tasks are running task will run for 98.5 usec1 tasks are running 2 tasktasks are running donetask will run for 97.9 usectask is finished. 1 tasks are running done 2 tasks are running task will run for 75.3 usectask is finished. 1 tasks are running done2 tasks are running tasktask will run for 24.1 usecwaiting for all tasks to complete is finished. 1 tasks are running done 2 tasks are running is finished. 1 tasks are runningtask done is finished. 0 tasks are running all tasks done ok test_various_ops_large_stack (__main__.ThreadTests) ... with 1MB thread stack size... platform does not support changing thread stack size ok test_various_ops_small_stack (__main__.ThreadTests) ... with 256kB thread stack size... platform does not support changing thread stack size ok test_1_join_on_shutdown (__main__.ThreadJoinOnShutdown) ... ok test_2_join_in_forked_process (__main__.ThreadJoinOnShutdown) ... ok test_3_join_in_forked_from_thread (__main__.ThreadJoinOnShutdown) ... FAIL test_daemonize_active_thread (__main__.ThreadingExceptionTests) ... ok test_joining_current_thread (__main__.ThreadingExceptionTests) ... ok test_joining_inactive_thread (__main__.ThreadingExceptionTests) ... ok test_notify_on_unacquired_condition (__main__.ThreadingExceptionTests) ... ok test_releasing_unacquired_rlock (__main__.ThreadingExceptionTests) ... ok test_semaphore_with_negative_value (__main__.ThreadingExceptionTests) ... ok test_start_thread_again (__main__.ThreadingExceptionTests) ... ok test_waiting_on_unacquired_condition (__main__.ThreadingExceptionTests) ... ok ====================================================================== FAIL: test_3_join_in_forked_from_thread (__main__.ThreadJoinOnShutdown) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_threading.py", line 406, in test_3_join_in_forked_from_thread self._run_and_join(script) File "test_threading.py", line 342, in _run_and_join self.assertEqual(data, "end of main\nend of thread\n") AssertionError: '' != 'end of main\nend of thread\n' ---------------------------------------------------------------------- Ran 20 tests in 2.326s FAILED (failures=1) Traceback (most recent call last): File "test_threading.py", line 454, in test_main() File "test_threading.py", line 450, in test_main ThreadingExceptionTests, File "/boot/common/lib/python2.7/test/test_support.py", line 722, in run_unittest _run_suite(suite) File "/boot/common/lib/python2.7/test/test_support.py", line 705, in _run_suite raise TestFailed(err) test.test_support.TestFailed: Traceback (most recent call last): File "test_threading.py", line 406, in test_3_join_in_forked_from_thread self._run_and_join(script) File "test_threading.py", line 342, in _run_and_join self.assertEqual(data, "end of main\nend of thread\n") AssertionError: '' != 'end of main\nend of thread\n' ~/develop/python/Lib/test> }}}