summaryrefslogtreecommitdiff
path: root/tests/micropython/kbd_intr.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/micropython/kbd_intr.py')
-rw-r--r--tests/micropython/kbd_intr.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/micropython/kbd_intr.py b/tests/micropython/kbd_intr.py
index 81977aaa5..e1ed7185e 100644
--- a/tests/micropython/kbd_intr.py
+++ b/tests/micropython/kbd_intr.py
@@ -1,10 +1,10 @@
# test the micropython.kbd_intr() function
-import micropython
-
try:
+ import micropython
+
micropython.kbd_intr
-except AttributeError:
+except (ImportError, AttributeError):
print("SKIP")
raise SystemExit