def setUp(self): self.pool = processes.ProcessPool('echo', ['hello'], max_size=1)
def setUp(self): self.pool = processes.ProcessPool('echo', ["hello"])
def setUp(self): self.pool = processes.ProcessPool('cat')
def setUp(self): self.pool = processes.ProcessPool( sys.executable, ['-c', 'print "y"; import time; time.sleep(0.4); print "y"'], max_size=1)