aboutsummaryrefslogtreecommitdiff
path: root/tests/extmod/uctypes_le.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extmod/uctypes_le.py')
-rw-r--r--tests/extmod/uctypes_le.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/extmod/uctypes_le.py b/tests/extmod/uctypes_le.py
index 5ae410b01..829beda58 100644
--- a/tests/extmod/uctypes_le.py
+++ b/tests/extmod/uctypes_le.py
@@ -1,4 +1,9 @@
-import uctypes
+try:
+ import uctypes
+except ImportError:
+ import sys
+ print("SKIP")
+ sys.exit()
desc = {
"s0": uctypes.UINT16 | 0,