tests/io/bytesio_ext: Add test for readinto().
This commit is contained in:
parent
d22a04d9c4
commit
3dabaae47d
|
@ -17,3 +17,8 @@ print(a.getvalue())
|
|||
|
||||
a.flush()
|
||||
print(a.getvalue())
|
||||
|
||||
a.seek(0)
|
||||
arr = bytearray(10)
|
||||
print(a.readinto(arr))
|
||||
print(arr)
|
||||
|
|
Loading…
Reference in New Issue