Update doc/en/how-to/capture-warnings.rst
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
parent
40c49daafd
commit
90a480044a
|
@ -47,7 +47,7 @@ Controlling warnings
|
||||||
|
|
||||||
Similar to Python's `warning filter` and :option:`-W option <python:-W>` flag, pytest provides
|
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
|
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.
|
advanced use-cases.
|
||||||
|
|
||||||
.. _`warning filter`: https://docs.python.org/3/library/warnings.html#warning-filter
|
.. _`warning filter`: https://docs.python.org/3/library/warnings.html#warning-filter
|
||||||
|
|
Loading…
Reference in New Issue