summaryrefslogtreecommitdiff
path: root/tests/micropython/kbd_intr.py
blob: a7ce7464b99ff61f1a53b421288b6e34f164b935 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# test the micropython.kbd_intr() function

import micropython

try:
    micropython.kbd_intr
except AttributeError:
    print('SKIP')
    import sys
    sys.exit()

# just check we can actually call it
micropython.kbd_intr(3)