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

View File

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