summaryrefslogtreecommitdiff
path: root/tests/micropython/heap_lock.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/micropython/heap_lock.py')
-rw-r--r--tests/micropython/heap_lock.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/micropython/heap_lock.py b/tests/micropython/heap_lock.py
index f2892a6dc..209a31434 100644
--- a/tests/micropython/heap_lock.py
+++ b/tests/micropython/heap_lock.py
@@ -1,6 +1,10 @@
# check that heap_lock/heap_unlock work as expected
-import micropython
+try:
+ import micropython
+except ImportError:
+ print("SKIP")
+ raise SystemExit
l = []
l2 = list(range(100))