summaryrefslogtreecommitdiff
path: root/tests/micropython/heapalloc_traceback.py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2025-09-14 11:51:36 +1000
committerDamien George <damien@micropython.org>2025-10-01 23:59:15 +1000
commit381cd730c834a1d071e7e90787ef7354b8532142 (patch)
tree5245515bb36effd32c54959d30fbb61e1e2dc52d /tests/micropython/heapalloc_traceback.py
parent3de5a4c63c4414a35f31ff50e3642129c1eada02 (diff)
tests/micropython: Improve skipping of tests using micropython module.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/micropython/heapalloc_traceback.py')
-rw-r--r--tests/micropython/heapalloc_traceback.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/micropython/heapalloc_traceback.py b/tests/micropython/heapalloc_traceback.py
index 4c5f99afe..5ded8c5f0 100644
--- a/tests/micropython/heapalloc_traceback.py
+++ b/tests/micropython/heapalloc_traceback.py
@@ -1,10 +1,9 @@
# test that we can generate a traceback without allocating
-import micropython
import sys
try:
- import io
+ import io, micropython
except ImportError:
print("SKIP")
raise SystemExit