diff --git a/doc/en/how-to/capture-warnings.rst b/doc/en/how-to/capture-warnings.rst index 155b63029..0656395d4 100644 --- a/doc/en/how-to/capture-warnings.rst +++ b/doc/en/how-to/capture-warnings.rst @@ -46,7 +46,7 @@ Controlling warnings -------------------- Similar to Python's `warning filter` and :option:`-W option ` flag, pytest provides -its own a ``-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 advanced use-cases.