Skip to content

Commit 55a58bc

Browse files
authored
Merge pull request #6173 from brettcannon/patch-1
Delineate syntactically that the 'match' argument to 'raises' is keyword-only
2 parents adccb63 + 0b40749 commit 55a58bc

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)