Skip to content

Commit

Permalink
Update tests/unit/test_import_alarm.py
Browse files Browse the repository at this point in the history
Co-authored-by: Marvin Poul <[email protected]>
  • Loading branch information
liamhuber and pmrv authored May 28, 2024
1 parent 39c0ebc commit 786b708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_import_alarm.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def add_three(x):
def test_scope(self):
with self.assertRaises(
ZeroDivisionError,
msg="Context manager should swallow unrelated exceptions"
msg="Context manager should not silence unrelated exceptions"
), ImportAlarm("Unrelated"):
print(1 / 0)

Expand Down

0 comments on commit 786b708

Please sign in to comment.