Add :with: modifier to raises() and deprecated_call()

This commit is contained in:
Bruno Oliveira 2018-02-26 20:57:02 -03:00
parent 44e2715529
commit 918dffba96
1 changed files with 3 additions and 1 deletions

View File

@ -53,7 +53,9 @@ main
raises raises
------ ------
.. autofunction:: _pytest.python_api.raises .. autofunction:: _pytest.python_api.raises
:with: excinfo
Examples at :ref:`assertraises`. Examples at :ref:`assertraises`.
@ -61,7 +63,7 @@ deprecated_call
--------------- ---------------
.. autofunction:: _pytest.recwarn.deprecated_call .. autofunction:: _pytest.recwarn.deprecated_call
:with:
.. _`hook-reference`: .. _`hook-reference`: