tests/io/bytesio_ext: Add test for readinto().

This commit is contained in:
Paul Sokolovsky 2016-10-09 12:01:02 +03:00
parent d22a04d9c4
commit 3dabaae47d
1 changed files with 5 additions and 0 deletions

View File

@ -17,3 +17,8 @@ print(a.getvalue())
a.flush()
print(a.getvalue())
a.seek(0)
arr = bytearray(10)
print(a.readinto(arr))
print(arr)