From c7c14f163458046767b539c567a421076ea9a6b7 Mon Sep 17 00:00:00 2001
From: Damien George <damien.p.george@gmail.com>
Date: Tue, 18 Apr 2017 16:21:47 +1000
Subject: [PATCH] tests/micropython: Add test for micropython.kbd_intr().

---
 tests/micropython/kbd_intr.py     | 13 +++++++++++++
 tests/micropython/kbd_intr.py.exp |  0
 2 files changed, 13 insertions(+)
 create mode 100644 tests/micropython/kbd_intr.py
 create mode 100644 tests/micropython/kbd_intr.py.exp

diff --git a/tests/micropython/kbd_intr.py b/tests/micropython/kbd_intr.py
new file mode 100644
index 000000000..a7ce7464b
--- /dev/null
+++ b/tests/micropython/kbd_intr.py
@@ -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)
diff --git a/tests/micropython/kbd_intr.py.exp b/tests/micropython/kbd_intr.py.exp
new file mode 100644
index 000000000..e69de29bb
-- 
GitLab