From 31f58cd89016354904aeee143307d5069966536b Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Fri, 24 Feb 2023 20:27:46 -0500 Subject: [PATCH] Fix EncodingWarning in doctest. --- zipp/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zipp/__init__.py b/zipp/__init__.py index f06e9fc..ddfa0a6 100644 --- a/zipp/__init__.py +++ b/zipp/__init__.py @@ -222,7 +222,7 @@ class Path: Read text: - >>> c.read_text() + >>> c.read_text(encoding='utf-8') 'content of c' existence: