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
ed07d035
Commit
ed07d035
authored
Jun 15, 2014
by
Paul Sokolovsky
Browse files
tests: Add basic test for unicode file i/o.
parent
f5f6c3b7
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/unicode/data/utf-8_1.txt
0 → 100644
View file @
ed07d035
Привет
tests/unicode/file1.py
0 → 100644
View file @
ed07d035
f
=
open
(
"unicode/data/utf-8_1.txt"
)
l
=
f
.
readline
()
print
(
l
)
print
(
len
(
l
))
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