We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffdcce6 commit 0b4a557Copy full SHA for 0b4a557
AUTHORS
@@ -57,6 +57,7 @@ Ben Gartner
57
Ben Webb
58
Benjamin Peterson
59
Bernard Pratz
60
+Bo Wu
61
Bob Ippolito
62
Brian Dorsey
63
Brian Larsen
src/_pytest/python_api.py
@@ -812,7 +812,8 @@ def raises( # noqa: F811
812
:kwparam str | typing.Pattern[str] | None match:
813
If specified, a string containing a regular expression,
814
or a regular expression object, that is tested against the string
815
- representation of the exception using :func:`re.search`.
+ representation of the exception and its `PEP-678 <https://peps.python.org/pep-0678/>` `__notes__`
816
+ using :func:`re.search`.
817
818
To match a literal string that may contain :ref:`special characters
819
<re-syntax>`, the pattern can first be escaped with :func:`re.escape`.
0 commit comments