Skip to content

Commit 31f58cd

Browse files
committed
Fix EncodingWarning in doctest.
1 parent 885d0e7 commit 31f58cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zipp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ class Path:
222222
223223
Read text:
224224
225-
>>> c.read_text()
225+
>>> c.read_text(encoding='utf-8')
226226
'content of c'
227227
228228
existence:

0 commit comments

Comments
 (0)