Skip to content

Commit

Permalink
fixup! Use exceptiongroup backport
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac-HD committed May 4, 2022
1 parent 557b8be commit 314b2cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hypothesis-python/src/hypothesis/internal/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
import typing

try:
BaseExceptionGroup, ExceptionGroup = BaseExceptionGroup, ExceptionGroup
BaseExceptionGroup = BaseExceptionGroup
ExceptionGroup = ExceptionGroup # pragma: no cover
except NameError:
from exceptiongroup import (
BaseExceptionGroup as BaseExceptionGroup,
Expand Down

0 comments on commit 314b2cf

Please sign in to comment.