File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -312,8 +312,8 @@ class RaisesGroup(AbstractRaises[BaseExceptionGroup[BaseExcT_co]]):
312
312
313
313
#. It will only catch exceptions wrapped in an exceptiongroup by default.
314
314
315
- * With ``allow_unwrapped=True`` you can specify a single expected exception (or :class:`RaisesExc`) and it will match
316
- the exception even if it is not inside an :exc:`ExceptionGroup`.
315
+ * With ``allow_unwrapped=True`` you can specify a single expected exception (or :class:`RaisesExc`) and it will
316
+ match the exception even if it is not inside an :exc:`ExceptionGroup`.
317
317
If you expect one of several different exception types you need to use a :class:`RaisesExc` object.
318
318
319
319
#. By default it cares about the full structure with nested :exc:`ExceptionGroup`'s. You can specify nested
Original file line number Diff line number Diff line change 6
6
7
7
from typing_extensions import assert_type
8
8
9
- from _pytest ._raises_group import RaisesExc
10
- from _pytest ._raises_group import RaisesGroup
9
+ from _pytest .raises_group import RaisesExc
10
+ from _pytest .raises_group import RaisesGroup
11
11
12
12
13
13
if sys .version_info < (3 , 11 ):
You can’t perform that action at this time.
0 commit comments