Delineate syntactically that the 'match' argument to 'raises' is keyword-only

This commit is contained in:
Brett Cannon
2019-11-12 12:32:05 -08:00
committed by GitHub
parent adccb63de0
commit 0b40749c98

View File

@@ -59,7 +59,7 @@ pytest.raises
**Tutorial**: :ref:`assertraises`.
.. autofunction:: pytest.raises(expected_exception: Exception, [match])
.. autofunction:: pytest.raises(expected_exception: Exception [, *, match])
:with: excinfo
pytest.deprecated_call