mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-02 03:10:22 +03:00
Specify encoding when loading readme
This is only required on Windows.
This commit is contained in:
parent
d7af216d36
commit
942a2c0913
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user