Specify encoding when loading readme

This is only required on Windows.
This commit is contained in:
Paul O'Leary McCann 2023-01-24 18:39:29 +09:00
parent d7af216d36
commit 942a2c0913

View File

@ -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