Update tests/ci/report.py

Co-authored-by: Alexander Gololobov <440544+davenger@users.noreply.github.com>
This commit is contained in:
Alexander Tokmakov 2023-02-02 15:28:01 +03:00 committed by GitHub
parent ddbc8ceee8
commit 5e64cda339
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -225,8 +225,8 @@ def read_test_results(results_path: Path, with_raw_logs: bool = True) -> TestRes
# the 4th value is a pythonic list, e.g. ['file1', 'file2']
if with_raw_logs:
# Python does not support TSV, so we unescape manually
result.set_raw_logs(line[3]).replace("\\t", "\t").replace(
"\\n", "\n"
result.set_raw_logs(line[3].replace("\\t", "\t").replace(
"\\n", "\n")
)
else:
result.set_log_files(line[3])