Skip to content

Commit

Permalink
Add :with: modifier to raises() and deprecated_call()
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed Mar 6, 2018
1 parent 44e2715 commit 918dffb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/en/reference.rst
Expand Up @@ -53,15 +53,17 @@ main

raises
------

.. autofunction:: _pytest.python_api.raises
:with: excinfo

Examples at :ref:`assertraises`.

deprecated_call
---------------

.. autofunction:: _pytest.recwarn.deprecated_call

:with:

.. _`hook-reference`:

Expand Down

0 comments on commit 918dffb

Please sign in to comment.