8000 tests/micropython: Add test for micropython.kbd_intr(). · micropython/micropython@c7c14f1 · GitHub
[go: up one dir, main page]

Skip to content

Commit c7c14f1

Browse files
committed
tests/micropython: Add test for micropython.kbd_intr().
1 parent bbb4b98 commit c7c14f1

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

tests/micropython/kbd_intr.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# test the micropython.kbd_intr() function
2+
3+
import micropython
4+
5+
try:
6+
micropython.kbd_intr
7+
except AttributeError:
8+
print('SKIP')
9+
import sys
10+
sys.exit()
11+
12+
# just check we can actually call it
13+
micropython.kbd_intr(3)

tests/micropython/kbd_intr.py.exp

Whitespace-only changes.

0 commit comments

Comments
 (0)
0