tests/micropython: Add test for micropython.kbd_intr().
This commit is contained in:
parent
bbb4b9822f
commit
c7c14f1634
13
tests/micropython/kbd_intr.py
Normal file
13
tests/micropython/kbd_intr.py
Normal 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)
|
0
tests/micropython/kbd_intr.py.exp
Normal file
0
tests/micropython/kbd_intr.py.exp
Normal file
Loading…
Reference in New Issue
Block a user