Skip to content

Commit

Permalink
improved comments
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-sanche committed Nov 9, 2023
1 parent 3642d74 commit 34cfa08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/asyncio/test_retry_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ async def test___call___with_generator_throw(self, sleep):
throw_val = await generator.athrow(ValueError("test"))
assert throw_val == 0
assert isinstance(exception_list[0], ValueError)
# calling next on closed generator should not raise error
# calling next on generator should not raise error, because it was retried
assert await generator.__anext__() == 1

@pytest.mark.parametrize("awaitable_wrapped", [True, False])
Expand Down

0 comments on commit 34cfa08

Please sign in to comment.