tests: Add basic test for unicode file i/o.
This commit is contained in:
parent
f5f6c3b792
commit
ed07d035d5
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))
|
Loading…
Reference in New Issue
Block a user