diff options
Diffstat (limited to 'tests/io/bytesio_ext.py')
-rw-r--r-- | tests/io/bytesio_ext.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/io/bytesio_ext.py b/tests/io/bytesio_ext.py index 30d79fcfcd..e827d1409c 100644 --- a/tests/io/bytesio_ext.py +++ b/tests/io/bytesio_ext.py @@ -17,3 +17,8 @@ print(a.getvalue()) a.flush() print(a.getvalue()) + +a.seek(0) +arr = bytearray(10) +print(a.readinto(arr)) +print(arr) |