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 7f9966b commit 0cdc5daCopy full SHA for 0cdc5da
src/_pytest/_raises_group.py
@@ -176,7 +176,10 @@ def matches(
176
177
@final
178
class RaisesExc(AbstractRaises[BaseExcT_co_default]):
179
- """Helper class to be used together with RaisesGroups when you want to specify requirements on sub-exceptions.
+ """
180
+ .. versionadded:: 8.4
181
+
182
+ Helper class to be used together with RaisesGroups when you want to specify requirements on sub-exceptions.
183
184
You don't need this if you only want to specify the type, since :class:`RaisesGroup`
185
accepts ``type[BaseException]``.
0 commit comments