def test_map_chunksize(self):
try:
self.pool.map_async(sqr, [], chunksize=1).get(timeout=TIMEOUT1)
except multiprocessing.TimeoutError:
self.fail("pool.map_async with chunksize stalled on null list")
test_multiprocessing.py 文件源码
python
阅读 19
收藏 0
点赞 0
评论 0
评论列表
文章目录