From 9d02ecbd4a620b8ab03942275f6706bd2c97e2d3 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Tue, 4 Jan 2022 10:35:41 -0300 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Hugo van Kemenade --- doc/en/how-to/capture-warnings.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/en/how-to/capture-warnings.rst b/doc/en/how-to/capture-warnings.rst index 5575c115d..efdf10e33 100644 --- a/doc/en/how-to/capture-warnings.rst +++ b/doc/en/how-to/capture-warnings.rst @@ -45,9 +45,9 @@ Running pytest now produces this output: Controlling warnings -------------------- -Similar to Python's `warning filter` and :option:`-W option ` flag, pytest provides +Similar to Python's `warning filter`_ and :option:`-W option ` 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