tests: Add basic test for unicode file i/o.

This commit is contained in:
Paul Sokolovsky 2014-06-15 23:28:39 +03:00
parent f5f6c3b792
commit ed07d035d5
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1 @@
Привет

4
tests/unicode/file1.py Normal file
View File

@ -0,0 +1,4 @@
f = open("unicode/data/utf-8_1.txt")
l = f.readline()
print(l)
print(len(l))