Add :with: modifier to raises() and deprecated_call()
This commit is contained in:
parent
44e2715529
commit
918dffba96
|
@ -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`:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue