We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5989efe commit 03db745Copy full SHA for 03db745
src/_pytest/raises.py
@@ -559,7 +559,7 @@ class RaisesExc(AbstractRaises[BaseExcT_co_default]):
559
The type is checked with :func:`isinstance`, and does not need to be an exact match.
560
If that is wanted you can use the ``check`` parameter.
561
562
- :kwparam str | Pattern[str] match
+ :kwparam str | Pattern[str] match:
563
A regex to match.
564
565
:kwparam Callable[[BaseException], bool] check:
0 commit comments