summaryrefslogtreecommitdiff
path: root/tests/micropython/heapalloc_bytesio.py
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2022-08-18 16:57:45 +1000
committerJim Mussared <jim.mussared@gmail.com>2023-06-08 17:54:24 +1000
commit4216bc7d1351feb8199e4ebbff1a9598aa1c5b02 (patch)
tree5085738ef65ab377c221f290c7fa90ec2acd4d29 /tests/micropython/heapalloc_bytesio.py
parent5e50975a6dd9466afafbcd012c00078093fe1f57 (diff)
tests: Replace umodule with module everywhere.
This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'tests/micropython/heapalloc_bytesio.py')
-rw-r--r--tests/micropython/heapalloc_bytesio.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/micropython/heapalloc_bytesio.py b/tests/micropython/heapalloc_bytesio.py
index 4aae2abf0..0ac8c9255 100644
--- a/tests/micropython/heapalloc_bytesio.py
+++ b/tests/micropython/heapalloc_bytesio.py
@@ -1,5 +1,5 @@
try:
- import uio
+ import io
except ImportError:
print("SKIP")
raise SystemExit
@@ -7,7 +7,7 @@ except ImportError:
import micropython
data = b"1234" * 16
-buf = uio.BytesIO(64)
+buf = io.BytesIO(64)
micropython.heap_lock()