Delineate syntactically that the 'match' argument to 'raises' is keyword-only
This commit is contained in:
parent
adccb63de0
commit
0b40749c98
|
@ -59,7 +59,7 @@ pytest.raises
|
||||||
|
|
||||||
**Tutorial**: :ref:`assertraises`.
|
**Tutorial**: :ref:`assertraises`.
|
||||||
|
|
||||||
.. autofunction:: pytest.raises(expected_exception: Exception, [match])
|
.. autofunction:: pytest.raises(expected_exception: Exception [, *, match])
|
||||||
:with: excinfo
|
:with: excinfo
|
||||||
|
|
||||||
pytest.deprecated_call
|
pytest.deprecated_call
|
||||||
|
|
Loading…
Reference in New Issue