mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
tests: Add basic test for unicode file i/o.
This commit is contained in:
1
tests/unicode/data/utf-8_1.txt
Normal file
1
tests/unicode/data/utf-8_1.txt
Normal file
@@ -0,0 +1 @@
|
||||
Привет
|
||||
4
tests/unicode/file1.py
Normal file
4
tests/unicode/file1.py
Normal file
@@ -0,0 +1,4 @@
|
||||
f = open("unicode/data/utf-8_1.txt")
|
||||
l = f.readline()
|
||||
print(l)
|
||||
print(len(l))
|
||||
Reference in New Issue
Block a user