Skip to content

Commit 19146aa

Browse files
authored
tests: fix deprecation warning (#10545)
1 parent c067095 commit 19146aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/console/commands/test_init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1177,7 +1177,7 @@ def test_init_does_not_create_project_structure_in_non_empty_directory(
11771177
) -> None:
11781178
"""Test that poetry init does not create project structure in non-empty directory."""
11791179
# Create some existing files
1180-
(source_dir / "existing_file.txt").write_text("existing content")
1180+
(source_dir / "existing_file.txt").write_text("existing content", encoding="utf-8")
11811181
(source_dir / "existing_dir").mkdir()
11821182

11831183
inputs = [

0 commit comments

Comments
 (0)