Fix issue #12948: multiprocessing test failures can hang the buildbots

This commit is contained in:
Jesus Cea 2011-09-09 22:15:16 +02:00
parent 6f6016bc59
commit 6faf907e6d
1 changed files with 0 additions and 2 deletions

View File

@ -2164,13 +2164,11 @@ class TestStdinBadfiledescriptor(unittest.TestCase):
def test_queue_in_process(self):
queue = multiprocessing.Queue()
proc = multiprocessing.Process(target=_TestProcess, args=(queue,))
proc.daemon = True
proc.start()
proc.join()
def test_pool_in_process(self):
p = multiprocessing.Process(target=pool_in_process)
p.daemon = True
p.start()
p.join()