Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
512465bc
Commit
512465bc
authored
Jul 22, 2014
by
Paul Sokolovsky
Browse files
tests: Add testcase for read by length past EOF.
Currently broken for unicode input streams.
parent
951ed9d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/io/file_long_read.py
0 → 100644
View file @
512465bc
f
=
open
(
"io/data/file1"
)
b
=
f
.
read
(
100
)
print
(
len
(
b
))
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment