circuitpython/tests/micropython/kbd_intr.py
2021-03-15 19:27:36 +05:30

13 lines
218 B
Python

# test the micropython.kbd_intr() function
import micropython
try:
micropython.kbd_intr
except AttributeError:
print("SKIP")
raise SystemExit
# just check we can actually call it
micropython.kbd_intr(3)