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 0c4ed31 commit 513c5ebCopy full SHA for 513c5eb
src/_pytest/raises.py
@@ -969,9 +969,7 @@ def __init__(
969
# that are *very* hard to reconcile while adhering to the overloads, so we cast
970
# it to avoid an error when passing it to super().__init__
971
check = cast(
972
- "Callable[["
973
- "BaseExceptionGroup[ExcT_1|BaseExcT_1|BaseExceptionGroup[BaseExcT_2]]"
974
- "], bool]",
+ "Callable[[BaseExceptionGroup[ExcT_1|BaseExcT_1|BaseExceptionGroup[BaseExcT_2]]], bool]",
975
check,
976
)
977
super().__init__(match=match, check=check)
0 commit comments