diff options
author | snermolaev <snermolaev@yandex-team.com> | 2023-10-28 07:16:55 +0300 |
---|---|---|
committer | snermolaev <snermolaev@yandex-team.com> | 2023-10-28 07:45:50 +0300 |
commit | 998d1d441b86d8229f793c3e7be30f46853544ac (patch) | |
tree | c2a4971a1bc1b5884741735b061675a02ae1919b /build/plugins | |
parent | 5237121770b9647777a75bf68d5a8e178b6eae55 (diff) | |
download | ydb-998d1d441b86d8229f793c3e7be30f46853544ac.tar.gz |
py23-nize ytest.py: fix load canonical data
fix load canonical data
YMAKE_USE_PY3
Diffstat (limited to 'build/plugins')
-rw-r--r-- | build/plugins/ytest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/plugins/ytest.py b/build/plugins/ytest.py index 9785684a49..43c7c38ae7 100644 --- a/build/plugins/ytest.py +++ b/build/plugins/ytest.py @@ -1191,7 +1191,7 @@ def get_canonical_test_resources(unit): def _load_canonical_file(filename, unit_path): try: - with open(filename) as results_file: + with open(filename, 'rb') as results_file: return json.load(results_file) except Exception as e: print("malformed canonical data in {}: {} ({})".format(unit_path, e, filename), file=sys.stderr) |