From fd54c281510f93ebc316fda1dd7dec73e64a9c79 Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Thu, 22 Aug 2024 16:18:10 +0200 Subject: [PATCH] Update docs/testing.md Co-authored-by: Will Lachance --- docs/testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/testing.md b/docs/testing.md index 1f969c3..96e2cfe 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -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.