Skip to content

Commit 47dbdb3

Browse files
Евгений БлиновЕвгений Блинов
authored andcommitted
Fix UTF-8 test to use Unicode escape sequence
1 parent 2dc1517 commit 47dbdb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/units/test_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2434,7 +2434,7 @@ def test_utf8_output_accepts_non_ascii_text(fd, result_attr):
24342434
result = run(
24352435
sys.executable,
24362436
'-c',
2437-
f'import os; os.write({fd}, "привет\\n".encode("utf-8"))',
2437+
f'import os; os.write({fd}, "\\u043f\\u0440\\u0438\\u0432\\u0435\\u0442\\n".encode("utf-8"))',
24382438
split=False,
24392439
catch_output=True,
24402440
)

0 commit comments

Comments
 (0)