Issue 6366: rare assertion failure in test_multiprocessing (original) (raw)
Just got the following non-reproducible failure in test_multiprocessing on py3k. Python was compiled in non-debug mode so I assume the strange failure message is a multiprocessing feature?
8e25dcc: refcount=1 <queue.Queue object at 0x8e25dcc> 8e25f6c: refcount=1 <threading._Event object at 0x8e25f6c> 8e3774c: refcount=1 <queue.Queue object at 0x8e3774c> 8e377ac: refcount=1 <threading._Event object at 0x8e377ac> b785a08c: refcount=2 <multiprocessing.pool.Pool object at 0xb785a08c> 8e25dcc: refcount=1 <queue.Queue object at 0x8e25dcc> 8e25f6c: refcount=1 <threading._Event object at 0x8e25f6c> 8e3774c: refcount=1 <queue.Queue object at 0x8e3774c> 8e377ac: refcount=1 <threading._Event object at 0x8e377ac> b785a08c: refcount=2 <multiprocessing.pool.Pool object at 0xb785a08c> test test_multiprocessing failed -- Traceback (most recent call last): File "/home/antoine/py3k/svn/Lib/test/test_multiprocessing.py", line 1070, in test_number_of_objects self.assertEqual(refs, EXPECTED_NUMBER) AssertionError: 5 != 1