diff --git a/spacy/tests/test_cli_app.py b/spacy/tests/test_cli_app.py index 7401ff33b..59dfa3936 100644 --- a/spacy/tests/test_cli_app.py +++ b/spacy/tests/test_cli_app.py @@ -84,7 +84,7 @@ def test_project_document(project_dir): ) assert result.exit_code == 0 assert readme_path.is_file() - text = readme_path.read_text() + text = readme_path.read_text("utf-8") assert SAMPLE_PROJECT["description"] in text