Update doc/en/how-to/capture-warnings.rst

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
Dan Alvizu 2022-01-03 16:56:57 -07:00 committed by GitHub
parent 40c49daafd
commit 90a480044a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ Controlling warnings
Similar to Python's `warning filter` and :option:`-W option <python:-W>` flag, pytest provides
its own ``-W`` flag to control which warnings are ignored, displayed, or turned into
errors. See the `warning filter` documentation for more
errors. See the `warning filter_` documentation for more
advanced use-cases.
.. _`warning filter`: https://docs.python.org/3/library/warnings.html#warning-filter