Skip to content

Commit

Permalink
Update src/trio/testing/_raises_group.py
Browse files Browse the repository at this point in the history
Co-authored-by: A5rocks <[email protected]>
  • Loading branch information
jakkdl and A5rocks authored Jan 12, 2025
1 parent 580137d commit baa7a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trio/testing/_raises_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ class RaisesGroup(Generic[BaseExcT_co]):
* With ``flatten_subgroups=True`` it will "flatten" the raised `ExceptionGroup`, extracting all exceptions inside any nested :class:`ExceptionGroup`, before matching.
It currently does not care about the order of the exceptions, so ``RaisesGroups(ValueError, TypeError)`` is equivalent to ``RaisesGroups(TypeError, ValueError)``.
It does not care about the order of the exceptions, so ``RaisesGroups(ValueError, TypeError)`` is equivalent to ``RaisesGroups(TypeError, ValueError)``.
Examples::
Expand Down

0 comments on commit baa7a2f

Please sign in to comment.