mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 20:20:14 +01:00
tests: Rename "array" module to "uarray".
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
try:
|
||||
import array
|
||||
import uarray as array
|
||||
except ImportError:
|
||||
print("SKIP")
|
||||
raise SystemExit
|
||||
try:
|
||||
import array
|
||||
except ImportError:
|
||||
print("SKIP")
|
||||
raise SystemExit
|
||||
|
||||
print(array.array('b', [1, 2]) in b'\x01\x02\x03')
|
||||
# CPython gives False here
|
||||
|
||||
Reference in New Issue
Block a user