summaryrefslogtreecommitdiff
path: root/tests/micropython/heapalloc_bytesio2.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_bytesio2.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_bytesio2.py')
-rw-r--r--tests/micropython/heapalloc_bytesio2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/micropython/heapalloc_bytesio2.py b/tests/micropython/heapalloc_bytesio2.py
index 3b9f14127..05c384a51 100644
--- a/tests/micropython/heapalloc_bytesio2.py
+++ b/tests/micropython/heapalloc_bytesio2.py
@@ -1,7 +1,7 @@
# Creating BytesIO from immutable object should not immediately
# copy its content.
try:
- import uio
+ import io
import micropython
micropython.mem_total
@@ -14,7 +14,7 @@ data = b"1234" * 256
before = micropython.mem_total()
-buf = uio.BytesIO(data)
+buf = io.BytesIO(data)
after = micropython.mem_total()