diff options
author | coteeq <coteeq@yandex-team.ru> | 2022-02-10 16:51:05 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:51:05 +0300 |
commit | 5bb7d5114d9362460f25a7066c2d66531fb455fa (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 | |
parent | 89f6a8a720cbfdba70450fd7d184a954d95a29d6 (diff) | |
download | ydb-5bb7d5114d9362460f25a7066c2d66531fb455fa.tar.gz |
Restoring authorship annotation for <coteeq@yandex-team.ru>. Commit 2 of 2.
-rw-r--r-- | library/python/testing/yatest_common/yatest/common/process.py | 2 | ||||
-rw-r--r-- | ydb/tests/library/matchers/response_matchers.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/library/python/testing/yatest_common/yatest/common/process.py b/library/python/testing/yatest_common/yatest/common/process.py index e41f232f53..a8bcc21f51 100644 --- a/library/python/testing/yatest_common/yatest/common/process.py +++ b/library/python/testing/yatest_common/yatest/common/process.py @@ -271,7 +271,7 @@ class _Execution(object): self._backtrace = cores.get_gdb_full_backtrace(self.command[0], core_path, runtime.gdb_path()) bt_filename = path.get_unique_file_path(runtime.output_path(), "{}.{}.backtrace".format(os.path.basename(self.command[0]), self._process.pid)) with open(bt_filename, "wb") as afile: - afile.write(six.ensure_binary(self._backtrace)) + afile.write(six.ensure_binary(self._backtrace)) # generate pretty html version of backtrace aka Tri Korochki pbt_filename = bt_filename + ".html" backtrace_to_html(bt_filename, pbt_filename) diff --git a/ydb/tests/library/matchers/response_matchers.py b/ydb/tests/library/matchers/response_matchers.py index 7e7eb7af8a..5fb2abcdfd 100644 --- a/ydb/tests/library/matchers/response_matchers.py +++ b/ydb/tests/library/matchers/response_matchers.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- import abc -from six import iteritems +from six import iteritems from hamcrest.core.base_matcher import BaseMatcher from hamcrest.core.helpers.wrap_matcher import wrap_matcher @@ -33,7 +33,7 @@ class FakeProtobuf(object): def __init__(self, **kwargs): self.__dict__['_data'] = dict() - for k, v in iteritems(kwargs): + for k, v in iteritems(kwargs): if v is not None: setattr(self, k, v) |