diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-06-15 23:28:39 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-06-27 00:04:20 +0300 |
commit | ed07d035d52764b3b02bfa8488f2e0445c28ea2f (patch) | |
tree | 927e8eb791e246018bfd12fad9294b5f6d112651 /tests/unicode/file1.py | |
parent | f5f6c3b7920457e99b71cf58cfb3cb0be0e4e890 (diff) | |
download | micropython-ed07d035d52764b3b02bfa8488f2e0445c28ea2f.tar.gz micropython-ed07d035d52764b3b02bfa8488f2e0445c28ea2f.zip |
tests: Add basic test for unicode file i/o.
Diffstat (limited to 'tests/unicode/file1.py')
-rw-r--r-- | tests/unicode/file1.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unicode/file1.py b/tests/unicode/file1.py new file mode 100644 index 0000000000..554e886743 --- /dev/null +++ b/tests/unicode/file1.py @@ -0,0 +1,4 @@ +f = open("unicode/data/utf-8_1.txt") +l = f.readline() +print(l) +print(len(l)) |