Merge pull request #6173 from brettcannon/patch-1
Delineate syntactically that the 'match' argument to 'raises' is keyword-only
This commit is contained in:
commit
55a58bcd3d
|
@ -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