* Rearrange section about context manager to be in order * Link to `pytest.warns` and `recwarn` since a reader going top to bottom won't have seen about those yet. * Used only context manager form in the example; the call form is somewhat obsolete and is mentioned in the reference docs already. * Reuse the 'myfunction' from first example on the second one Co-Authored-By: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-Authored-By: Hugo van Kemenade <hugovk@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| en | ||