summaryrefslogtreecommitdiff
path: root/tests/micropython/heapalloc_bytesio2.py
diff options
context:
space:
mode:
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()