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

pull/3011/head
Damien George 2017-04-18 16:21:47 +10:00
rodzic bbb4b9822f
commit c7c14f1634
2 zmienionych plików z 13 dodań i 0 usunięć

Wyświetl plik

@ -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)