Skip to content

Commit 3daa505

Browse files
test docs
1 parent f14694b commit 3daa505

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

unittests/test_itertools.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ async def reduction(x, y):
3434

3535
@sync
3636
async def test_accumulate_default():
37+
"""Test the default function of accumulate"""
3738
for itertype in (asyncify, list):
3839
assert await a.list(a.accumulate(itertype([0, 1]))) == list(
3940
itertools.accumulate([0, 1])
@@ -53,6 +54,7 @@ async def test_accumulate_default():
5354

5455
@sync
5556
async def test_accumulate_misuse():
57+
"""Test wrong arguments to accumulate"""
5658
with pytest.raises(TypeError):
5759
assert await a.list(a.accumulate([]))
5860

0 commit comments

Comments
 (0)