tests/micropython: Add test for micropython.kbd_intr().
This commit is contained in:
parent
bbb4b9822f
commit
c7c14f1634
|
@ -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)
|
Loading…
Reference in New Issue