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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/micropython/heapalloc_iter.py b/tests/micropython/heapalloc_iter.py
index 30ac82e14..163e17211 100644
--- a/tests/micropython/heapalloc_iter.py
+++ b/tests/micropython/heapalloc_iter.py
@@ -1,7 +1,8 @@
# test that iterating doesn't use the heap
try:
+ frozenset
import array
-except ImportError:
+except (NameError, ImportError):
print("SKIP")
raise SystemExit