diff options
author | Damien George <damien.p.george@gmail.com> | 2019-10-22 17:33:23 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-10-22 19:16:54 +1100 |
commit | 30e25174bbf077e8a3cbe2a3a6a97795f8d67dc2 (patch) | |
tree | e613397f3a1bd429c8774093ef2319aba5d1c9d1 /tests/micropython/heapalloc_iter.py | |
parent | a2eea57b1d5456696598703aa4ffdbc7e9fb52ea (diff) |
tests: Rename "array" module to "uarray".
Diffstat (limited to 'tests/micropython/heapalloc_iter.py')
-rw-r--r-- | tests/micropython/heapalloc_iter.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/micropython/heapalloc_iter.py b/tests/micropython/heapalloc_iter.py index 163e17211..5a44a558b 100644 --- a/tests/micropython/heapalloc_iter.py +++ b/tests/micropython/heapalloc_iter.py @@ -1,10 +1,17 @@ # test that iterating doesn't use the heap try: frozenset - import array -except (NameError, ImportError): +except NameError: print("SKIP") raise SystemExit +try: + import uarray as array +except ImportError: + try: + import array + except ImportError: + print("SKIP") + raise SystemExit try: from micropython import heap_lock, heap_unlock |