Skip to content

Commit 08ddc27

Browse files
committed
fix: add comment for predicate
1 parent 5cdba7b commit 08ddc27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/unit/test_retry.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ async def test_retry_target_warning_for_retry(utcnow, sleep):
140140
target = mock.AsyncMock(spec=["__call__"])
141141

142142
with pytest.warns(Warning) as exc_info:
143+
# Note: predicate is just a filler and doesn't affect the test
143144
retry.retry_target(target, predicate, range(10), None)
144145

145146
assert len(exc_info) == 2

0 commit comments

Comments
 (0)