Skip to content

Commit

Permalink
Import stamina in pytest fixture example (#66)
Browse files Browse the repository at this point in the history
Given that we already import pytest, we might as well also import stamina to make a complete example.
  • Loading branch information
wlach authored Jun 26, 2024
1 parent 0b2dc54 commit 4f1b4f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ For example, here's a *pytest* fixture that automatically turns off retries at t

```python
import pytest
import stamina

@pytest.fixture(autouse=True, scope="session")
def deactivate_retries():
Expand Down

0 comments on commit 4f1b4f9

Please sign in to comment.