Skip to content

Commit 9d2b4c8

Browse files
committed
Fix test to pass locally.
1 parent c6fcf62 commit 9d2b4c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
def test_setup(gpiod):
66
"""Test init succeeds and GPIO pins are set up."""
77
import blinkt
8-
with pytest.raises(RuntimeError):
8+
with pytest.raises((RuntimeError, SystemExit)):
99
blinkt.show()

0 commit comments

Comments
 (0)