Skip to content

Commit 6b13109

Browse files
committed
.
1 parent 730340e commit 6b13109

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

code-interpreter/tests/integration_tests/test_binary_file_integrity.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,7 @@ def test_write_stdin_string_causes_tar_corruption(
113113
after_websocket = as_string.encode("utf-8")
114114

115115
# The byte sequences differ — this IS the corruption
116-
assert after_websocket != tar_bytes, (
117-
"latin-1→UTF-8 round-trip should corrupt bytes >= 0x80"
118-
)
116+
assert after_websocket != tar_bytes, "latin-1→UTF-8 round-trip should corrupt bytes >= 0x80"
119117
assert len(after_websocket) > len(tar_bytes), (
120118
"UTF-8 encoding expands bytes >= 0x80 into multi-byte sequences"
121119
)

0 commit comments

Comments
 (0)