summaryrefslogtreecommitdiffstats
path: root/build/platform/python/tests/testlib.py
diff options
context:
space:
mode:
authorkrock21 <[email protected]>2022-02-10 16:46:02 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:46:02 +0300
commit4aae166b5d23fd02653919f43e2015cd636fa6fd (patch)
tree70e52225c1ede3476f358bc4699197ace987d46d /build/platform/python/tests/testlib.py
parent9ab30620977aa96ae9e9da959e2f7e1370cb796d (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'build/platform/python/tests/testlib.py')
-rw-r--r--build/platform/python/tests/testlib.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/platform/python/tests/testlib.py b/build/platform/python/tests/testlib.py
index d12f2815d48..765e55aaa3a 100644
--- a/build/platform/python/tests/testlib.py
+++ b/build/platform/python/tests/testlib.py
@@ -5,12 +5,12 @@ import yatest.common
def get_python_bin(ver):
- res_name = 'EXTERNAL_PYTHON{}_RESOURCE_GLOBAL'.format(ver.replace('.', ''))
+ res_name = 'EXTERNAL_PYTHON{}_RESOURCE_GLOBAL'.format(ver.replace('.', ''))
gr = yatest.common.global_resources()
if res_name in gr:
bindir = os.path.join(gr[res_name], 'python', 'bin')
- if ('python' + ver) in os.listdir(bindir):
- return os.path.join(bindir, 'python' + ver)
+ if ('python' + ver) in os.listdir(bindir):
+ return os.path.join(bindir, 'python' + ver)
return os.path.join(bindir, 'python')
raise AssertionError("Resource '{}' is not available: {}".format(res_name, gr))