summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2026-07-23 09:15:22 +0300
committerrobot-piglet <[email protected]>2026-07-23 09:44:58 +0300
commitfd920f80832d47a24870e7db9e70d2e33a79751a (patch)
treeaaaa88e503d2c271ca5ae2e6ab583dcd108d3beb
parentc00f48cbc41cfd5dc511692554d4a8aac37d96e0 (diff)
Intermediate changes
commit_hash:2b32e88cd243a3a6371be1df072306211df80be8
-rw-r--r--yql/essentials/tests/common/test_framework/yql_utils.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/yql/essentials/tests/common/test_framework/yql_utils.py b/yql/essentials/tests/common/test_framework/yql_utils.py
index 3ddeb7e1d16..9de56c35d4c 100644
--- a/yql/essentials/tests/common/test_framework/yql_utils.py
+++ b/yql/essentials/tests/common/test_framework/yql_utils.py
@@ -130,21 +130,13 @@ def find_file(path):
return res
-output_path_cache = {}
-
-
def yql_output_path(*args, **kwargs):
if not get_param('LOCAL_BENCH_XX'):
# abspath is needed, because output_path may be relative when test is run directly (without ya make).
return os.path.abspath(yatest.common.output_path(*args, **kwargs))
else:
- if args and args in output_path_cache:
- return output_path_cache[args]
- res = os.path.join(tempfile.mkdtemp(prefix='yql_tmp_'), *args)
- if args:
- output_path_cache[args] = res
- return res
+ return os.path.join(tempfile.mkdtemp(prefix='yql_tmp_'), *args)
def yql_binary_path(*args, **kwargs):