Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
parent
90a480044a
commit
9d02ecbd4a
|
@ -45,9 +45,9 @@ Running pytest now produces this output:
|
||||||
Controlling warnings
|
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