Skip to content

Commit f4de18b

Browse files
committed
Changed encoding of test to utf-8 !minor
1 parent ddfd3bf commit f4de18b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_files.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def test_simple_replacement_in_utf8_file(tmp_path: Path):
260260
"""Changing a file in UTF-8 should not change the non-ASCII characters."""
261261
# Arrange
262262
version_path = tmp_path / "VERSION"
263-
version_path.write_bytes("Kröt1.3.0".encode())
263+
version_path.write_bytes("Kröt1.3.0".encode("utf-8"))
264264

265265
overrides = {"current_version": "1.3.0", "files": [{"filename": str(version_path)}]}
266266
with inside_dir(tmp_path):

0 commit comments

Comments
 (0)