Skip to content

Commit 3dabaae

Browse files
committed
tests/io/bytesio_ext: Add test for readinto().
1 parent d22a04d commit 3dabaae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/io/bytesio_ext.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,8 @@
1717

1818
a.flush()
1919
print(a.getvalue())
20+
21+
a.seek(0)
22+
arr = bytearray(10)
23+
print(a.readinto(arr))
24+
print(arr)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy