diff options
author | naumbi4 <naumbi4@yandex-team.com> | 2023-09-21 17:49:19 +0300 |
---|---|---|
committer | naumbi4 <naumbi4@yandex-team.com> | 2023-09-21 18:36:34 +0300 |
commit | c1e17aee3c00a63e11d7ba39f1e4b89ea51423f3 (patch) | |
tree | 804961e774e19c8a60746a2b9f97a8b743eb102c | |
parent | 9fd8a920b379d2c36cea6e760cdb04433eb6b996 (diff) | |
download | ydb-c1e17aee3c00a63e11d7ba39f1e4b89ea51423f3.tar.gz |
Do not fail if stderr is None
-rw-r--r-- | ydb/tests/library/harness/daemon.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ydb/tests/library/harness/daemon.py b/ydb/tests/library/harness/daemon.py index e92333a0539..dd7860dc129 100644 --- a/ydb/tests/library/harness/daemon.py +++ b/ydb/tests/library/harness/daemon.py @@ -21,6 +21,9 @@ def extract_stderr_details(stderr_file, max_lines=0): if max_lines == 0: return [] + if stderr_file is None: + return [] + result = ["Stderr content:", ""] with open(stderr_file, 'r') as r: for line in r.readlines(): |