aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-10 22:40:41 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-10 22:40:41 +0300
commit94560f1fadd7681bbb4c9fa02b2757efb072aabd (patch)
tree77610e60b4159f77a2a7ca4967ddd60adee284db
parent8a761ab3a703bf5bdc4c0238262df469a9f96d88 (diff)
downloadydb-94560f1fadd7681bbb4c9fa02b2757efb072aabd.tar.gz
intermediate changes
ref:e3558e59374e3fcc75bdef0c34f021d3dc7b8326
-rw-r--r--library/python/testing/yatest_common/yatest/common/process.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/python/testing/yatest_common/yatest/common/process.py b/library/python/testing/yatest_common/yatest/common/process.py
index 1a08bb98d3..6dfab8f94d 100644
--- a/library/python/testing/yatest_common/yatest/common/process.py
+++ b/library/python/testing/yatest_common/yatest/common/process.py
@@ -733,11 +733,11 @@ def check_glibc_version(binary_path):
def backtrace_to_html(bt_filename, output):
try:
from library.python import coredump_filter
- with open(output, "wb") as afile:
+ with open(output, "w") as afile:
coredump_filter.filter_stackdump(bt_filename, stream=afile)
except ImportError as e:
yatest_logger.debug("Failed to import coredump_filter: %s", e)
- with open(output, "wb") as afile:
+ with open(output, "w") as afile:
afile.write("<html>Failed to import coredump_filter in USE_ARCADIA_PYTHON=no mode</html>")