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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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