Commit e91c2a50 authored by Antoine Pitrou's avatar Antoine Pitrou Committed by GitHub

[Trivial] Remove now redundant assert (#3245)

parent d9a2b99a
......@@ -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(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment