Skip to content

Commit 0cdc5da

Browse files
jakkdlnicoddemus
andauthored
Update src/_pytest/_raises_group.py
Co-authored-by: Bruno Oliveira <[email protected]>
1 parent 7f9966b commit 0cdc5da

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/_pytest/_raises_group.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,10 @@ def matches(
176176

177177
@final
178178
class RaisesExc(AbstractRaises[BaseExcT_co_default]):
179-
"""Helper class to be used together with RaisesGroups when you want to specify requirements on sub-exceptions.
179+
"""
180+
.. versionadded:: 8.4
181+
182+
Helper class to be used together with RaisesGroups when you want to specify requirements on sub-exceptions.
180183
181184
You don't need this if you only want to specify the type, since :class:`RaisesGroup`
182185
accepts ``type[BaseException]``.

0 commit comments

Comments
 (0)