Index: Lib/test/test_queue.py =================================================================== --- Lib/test/test_queue.py (revision 64369) +++ Lib/test/test_queue.py (working copy) @@ -143,6 +143,7 @@ def worker(self, q): while True: + print("work", q) x = q.get() if x < 0: q.task_done() @@ -156,6 +157,7 @@ for i in (0,1): threading.Thread(target=self.worker, args=(q,)).start() for i in range(100): + print("put", q) q.put(i) q.join() self.assertEquals(self.cum, sum(range(100)),