Skip to content

Commit 2955e28

Browse files
committed
remove failing test
Previously I planned to force chunksize value to be larger than 2 and wrote a test to allow chunksize equal to two. Fold takes a combination function which I am not sure how to interpret and prefer not to mess with so if the user choses a chunksize of 1 than we raise an exception instead of trapping ourselves in an infinite loop.
1 parent e9c2724 commit 2955e28

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

toolz/sandbox/tests/test_parallel.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ def test_fold():
1313
assert fold(add, range(10), 0) == reduce(add, range(10), 0)
1414
assert fold(add, range(10), 0, map=Pool().map) == reduce(add, range(10), 0)
1515
assert fold(add, range(10), 0, chunksize=2) == reduce(add, range(10), 0)
16-
assert fold(add, range(10), 0, chunksize=1) == reduce(add, range(10), 0)
1716
assert fold(add, range(10)) == fold(add, range(10), 0)
1817

1918
def setadd(s, item):

0 commit comments

Comments
 (0)