diff options
Diffstat (limited to 'Lib/test/test_importlib/test_files.py')
-rw-r--r-- | Lib/test/test_importlib/test_files.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_importlib/test_files.py b/Lib/test/test_importlib/test_files.py index 1e7a1f3..481829b 100644 --- a/Lib/test/test_importlib/test_files.py +++ b/Lib/test/test_importlib/test_files.py @@ -15,7 +15,7 @@ class FilesTests: def test_read_text(self): files = resources.files(self.data) - actual = files.joinpath('utf-8.file').read_text() + actual = files.joinpath('utf-8.file').read_text(encoding='utf-8') assert actual == 'Hello, UTF-8 world!\n' @unittest.skipUnless( |