Skip to content

Commit 0b40749

Browse files
authored
Delineate syntactically that the 'match' argument to 'raises' is keyword-only
1 parent adccb63 commit 0b40749

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/en/reference.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ pytest.raises
5959

6060
**Tutorial**: :ref:`assertraises`.
6161

62-
.. autofunction:: pytest.raises(expected_exception: Exception, [match])
62+
.. autofunction:: pytest.raises(expected_exception: Exception [, *, match])
6363
:with: excinfo
6464

6565
pytest.deprecated_call

0 commit comments

Comments
 (0)