[Trivial] Remove now redundant assert (#3245)
This commit is contained in:
parent
d9a2b99ac4
commit
e91c2a5086
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue