summaryrefslogtreecommitdiff
path: root/tests/micropython/heapalloc_iter.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/micropython/heapalloc_iter.py')
-rw-r--r--tests/micropython/heapalloc_iter.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/micropython/heapalloc_iter.py b/tests/micropython/heapalloc_iter.py
index 18f5322ee..bd1ba4db7 100644
--- a/tests/micropython/heapalloc_iter.py
+++ b/tests/micropython/heapalloc_iter.py
@@ -5,13 +5,10 @@ except NameError:
print("SKIP")
raise SystemExit
try:
- import uarray as array
+ import array
except ImportError:
- try:
- import array
- except ImportError:
- print("SKIP")
- raise SystemExit
+ print("SKIP")
+ raise SystemExit
try:
from micropython import heap_lock, heap_unlock