From 4216bc7d1351feb8199e4ebbff1a9598aa1c5b02 Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Thu, 18 Aug 2022 16:57:45 +1000 Subject: tests: Replace umodule with module everywhere. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared --- tests/micropython/heapalloc_bytesio2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/micropython/heapalloc_bytesio2.py') 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() -- cgit v1.2.3