Skip to content

Commit ed07d03

Browse files
committed
tests: Add basic test for unicode file i/o.
1 parent f5f6c3b commit ed07d03

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

tests/unicode/data/utf-8_1.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Привет

tests/unicode/file1.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
f = open("unicode/data/utf-8_1.txt")
2+
l = f.readline()
3+
print(l)
4+
print(len(l))

0 commit comments

Comments
 (0)