From 2e99e9953d89be9f3fc23d5a62f8d05aa22ef1cb Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Mon, 5 Dec 2022 16:12:47 +0100 Subject: [PATCH] Update python-config-test.py --- tests/sources/python-config-test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/sources/python-config-test.py b/tests/sources/python-config-test.py index de8a61d4..cc0a3cb5 100644 --- a/tests/sources/python-config-test.py +++ b/tests/sources/python-config-test.py @@ -27,9 +27,9 @@ if os_type == 'Darwin': expected_ld_library_extension = 'dylib' if pkg_installer: - expected_lib_dir_path = f'/Library/Frameworks/Python.framework/Versions/{version_major}.{version_minor}/lib' + expected_lib_dir_path = '/Library/Frameworks/Python.framework/Versions/{0}.{1}/lib'.format(version_major, version_minor) else: - expected_lib_dir_path = f'{os.getenv("AGENT_TOOLSDIRECTORY")}/Python/{version}/x64/lib' + expected_lib_dir_path = '{os.getenv("AGENT_TOOLSDIRECTORY")}/Python/{0}/x64/lib'.format(version) # Check modules ### Validate libraries path @@ -81,4 +81,4 @@ if sys.version_info < (3, 12): if not have_libreadline: print('Missing libreadline') - exit(1) \ No newline at end of file + exit(1)