Skip to content

Commit 512465b

Browse files
committed
tests: Add testcase for read by length past EOF.
Currently broken for unicode input streams.
1 parent 951ed9d commit 512465b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/io/file_long_read.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
f = open("io/data/file1")
2+
b = f.read(100)
3+
print(len(b))

0 commit comments

Comments
 (0)