diff options
Diffstat (limited to 'tests/micropython/kbd_intr.py')
-rw-r--r-- | tests/micropython/kbd_intr.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/micropython/kbd_intr.py b/tests/micropython/kbd_intr.py index a7ce7464b..879c9a229 100644 --- a/tests/micropython/kbd_intr.py +++ b/tests/micropython/kbd_intr.py @@ -6,8 +6,7 @@ try: micropython.kbd_intr except AttributeError: print('SKIP') - import sys - sys.exit() + raise SystemExit # just check we can actually call it micropython.kbd_intr(3) |