Skip to content

Commit c9017d1

Browse files
committed
docs: adjust testing docstring to reality
Ref #77
1 parent f734318 commit c9017d1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/stamina/_config.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,7 @@ def set_testing(testing: bool, *, attempts: int = 1) -> None:
141141
"""
142142
Activate or deactivate test mode.
143143
144-
In testing mode, backoffs are disabled, and attempts are capped to
145-
*attempts*.
144+
In testing mode, backoffs are disabled, and attempts are set to *attempts*.
146145
147146
Is idempotent and can be called repeatedly with the same values.
148147

0 commit comments

Comments
 (0)