We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
deprecated_call
FutureWarning
1 parent 3a35fcd commit 980bb5cCopy full SHA for 980bb5c
doc/en/how-to/capture-warnings.rst
@@ -286,8 +286,8 @@ Ensuring code triggers a deprecation warning
286
--------------------------------------------
287
288
You can also use :func:`pytest.deprecated_call` for checking
289
-that a certain function call triggers a ``DeprecationWarning`` or
290
-``PendingDeprecationWarning``:
+that a certain function call triggers a ``DeprecationWarning``, ``PendingDeprecationWarning`` or
+``FutureWarning``:
291
292
.. code-block:: python
293
0 commit comments