Skip to content

Commit

Permalink
Update docs/testing.md
Browse files Browse the repository at this point in the history
Co-authored-by: Will Lachance <wrlach@gmail.com>
  • Loading branch information
hynek and wlach committed Aug 24, 2024
1 parent a32f7b5 commit fd54c28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This is a great approach when you're only using our decorator-based API.
:::{versionadded} 24.3.0
:::

When you need more control, you will use the iterator-based APIs around {func}`stamina.retry_context`.
When you need more control, you can use the iterator-based APIs around {func}`stamina.retry_context`.

In that case, triggering retries and testing what happens can make sense.
However, you don't want the backoff and probably want to avoid going to the full number of attempts -- otherwise, your test suite will run forever.
Expand Down

0 comments on commit fd54c28

Please sign in to comment.