summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/array_add.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-10-22 17:33:23 +1100
committerDamien George <damien.p.george@gmail.com>2019-10-22 19:16:54 +1100
commit30e25174bbf077e8a3cbe2a3a6a97795f8d67dc2 (patch)
treee613397f3a1bd429c8774093ef2319aba5d1c9d1 /tests/basics/array_add.py
parenta2eea57b1d5456696598703aa4ffdbc7e9fb52ea (diff)
downloadmicropython-30e25174bbf077e8a3cbe2a3a6a97795f8d67dc2.tar.gz
micropython-30e25174bbf077e8a3cbe2a3a6a97795f8d67dc2.zip
tests: Rename "array" module to "uarray".
Diffstat (limited to 'tests/basics/array_add.py')
-rw-r--r--tests/basics/array_add.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/basics/array_add.py b/tests/basics/array_add.py
index 76ce59f761..8335eb6b82 100644
--- a/tests/basics/array_add.py
+++ b/tests/basics/array_add.py
@@ -1,9 +1,12 @@
# test array + array
try:
- import array
+ import uarray as array
except ImportError:
- print("SKIP")
- raise SystemExit
+ try:
+ import array
+ except ImportError:
+ print("SKIP")
+ raise SystemExit
a1 = array.array('I', [1])
a2 = array.array('I', [2])