We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddfd3bf commit f4de18bCopy full SHA for f4de18b
tests/test_files.py
@@ -260,7 +260,7 @@ def test_simple_replacement_in_utf8_file(tmp_path: Path):
260
"""Changing a file in UTF-8 should not change the non-ASCII characters."""
261
# Arrange
262
version_path = tmp_path / "VERSION"
263
- version_path.write_bytes("Kröt1.3.0".encode())
+ version_path.write_bytes("Kröt1.3.0".encode("utf-8"))
264
265
overrides = {"current_version": "1.3.0", "files": [{"filename": str(version_path)}]}
266
with inside_dir(tmp_path):
0 commit comments