aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnermolaev <snermolaev@yandex-team.com>2023-10-21 11:26:48 +0300
committersnermolaev <snermolaev@yandex-team.com>2023-10-21 11:47:27 +0300
commit88082c7a0056436825da85a20f79fc22711d682b (patch)
tree290002712a285197fb04bb6b4962120a81b45735
parentae9bb2cf946979d0a6a8b3e4a2440cdea6622699 (diff)
downloadydb-88082c7a0056436825da85a20f79fc22711d682b.tar.gz
py23-nize ytest.py
-rw-r--r--build/plugins/ytest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/plugins/ytest.py b/build/plugins/ytest.py
index 180f8d5c05..506466f355 100644
--- a/build/plugins/ytest.py
+++ b/build/plugins/ytest.py
@@ -351,7 +351,7 @@ def serialize_list(lst):
def deserialize_list(val):
- return filter(None, val.replace('"', "").split(";"))
+ return list(filter(None, val.replace('"', "").split(";")))
def get_correct_expression_for_group_var(varname):
@@ -777,7 +777,7 @@ def onadd_pytest_script(unit, *args):
return
unit.set(["PYTEST_BIN", "no"])
custom_deps = get_values_list(unit, 'TEST_DEPENDS_VALUE')
- timeout = filter(None, [unit.get(["TEST_TIMEOUT"])])
+ timeout = list(filter(None, [unit.get(["TEST_TIMEOUT"])]))
if unit.get('ADD_SRCDIR_TO_TEST_DATA') == "yes":
unit.ondata_files(_common.get_norm_unit_path(unit))