tests/micropython: Add test for micropython.kbd_intr().

This commit is contained in:
Damien George 2017-04-18 16:21:47 +10:00
parent bbb4b9822f
commit c7c14f1634
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,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)

View File