Skip to content

Commit c93130c

Browse files
committed
add RaisesGroup & Matcher
1 parent 6530f42 commit c93130c

File tree

5 files changed

+2381
-0
lines changed

5 files changed

+2381
-0
lines changed

changelog/11671.feature.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Added `RaisesGroup` (also available as `raises_group`) and `Matcher`, as an equivalent to `raises` for expecting `ExceptionGroup`. It includes the ability to specity multiple different expected exceptions, the structure of nested exception groups, and/or closely emulating `except_star`.

0 commit comments

Comments
 (0)