From e91c2a5086c8fea64ad33d5f334da13ed0d5648a Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Wed, 30 Aug 2017 16:57:12 +0200 Subject: [Trivial] Remove now redundant assert (#3245) --- Lib/multiprocessing/pool.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Lib/multiprocessing/pool.py b/Lib/multiprocessing/pool.py index e457f0a..b1ee725 100644 --- a/Lib/multiprocessing/pool.py +++ b/Lib/multiprocessing/pool.py @@ -313,7 +313,6 @@ class Pool(object): raise ValueError( "Chunksize must be 1+, not {0:n}".format( chunksize)) - assert chunksize > 1 task_batches = Pool._get_tasks(func, iterable, chunksize) result = IMapIterator(self._cache) self._taskqueue.put( -- cgit v0.12