We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6fcf62 commit 9d2b4c8Copy full SHA for 9d2b4c8
tests/test_setup.py
@@ -5,5 +5,5 @@
5
def test_setup(gpiod):
6
"""Test init succeeds and GPIO pins are set up."""
7
import blinkt
8
- with pytest.raises(RuntimeError):
+ with pytest.raises((RuntimeError, SystemExit)):
9
blinkt.show()
0 commit comments