# Creating BytesIO from immutable object should not immediately# copy its content.try:importuioimportmicropythonmicropython.mem_totalexcept(ImportError,AttributeError):print("SKIP")raiseSystemExitdata=b"1234"*256before=micropython.mem_total()buf=uio.BytesIO(data)after=micropython.mem_total()print(after-before<len(data))