Skip to content

Commit

Permalink
Fix _ExceptionGroup.__init__() bug (#218).
Browse files Browse the repository at this point in the history
  • Loading branch information
lemon24 committed Aug 13, 2023
1 parent 711127c commit 15bdf10
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/reader/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ def __init__(self, msg: str, excs: Sequence[Exception], /):
for i, e in enumerate(excs): # pragma: no cover
if not isinstance(e, Exception):
raise ValueError(f"item {i} of second argument is not an exception")
super().__init__(msg, tuple(excs))
self._message = msg
self._exceptions = excs

Expand Down

0 comments on commit 15bdf10

Please sign in to comment.