We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c067095 commit 19146aaCopy full SHA for 19146aa
tests/console/commands/test_init.py
@@ -1177,7 +1177,7 @@ def test_init_does_not_create_project_structure_in_non_empty_directory(
1177
) -> None:
1178
"""Test that poetry init does not create project structure in non-empty directory."""
1179
# Create some existing files
1180
- (source_dir / "existing_file.txt").write_text("existing content")
+ (source_dir / "existing_file.txt").write_text("existing content", encoding="utf-8")
1181
(source_dir / "existing_dir").mkdir()
1182
1183
inputs = [
0 commit comments