mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
tests/io/bytesio_ext: Add test for readinto().
This commit is contained in:
@@ -17,3 +17,8 @@ print(a.getvalue())
|
||||
|
||||
a.flush()
|
||||
print(a.getvalue())
|
||||
|
||||
a.seek(0)
|
||||
arr = bytearray(10)
|
||||
print(a.readinto(arr))
|
||||
print(arr)
|
||||
|
||||
Reference in New Issue
Block a user