Skip to content

Commit

Permalink
Fixed pytest plugin swallowing most exception groups
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Sep 2, 2024
1 parent bc962ef commit 5a1e419
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/anyio/pytest_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ def run_with_hypothesis(**kwargs: Any) -> None:
if isinstance(exc, (Exit, KeyboardInterrupt, SystemExit)):
raise exc from excgrp

raise

return True

return None
Expand Down

0 comments on commit 5a1e419

Please sign in to comment.