Skip to content

Commit 2e99e99

Browse files
Update python-config-test.py
1 parent 08fcc9e commit 2e99e99

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/sources/python-config-test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
if os_type == 'Darwin': expected_ld_library_extension = 'dylib'
2828

2929
if pkg_installer:
30-
expected_lib_dir_path = f'/Library/Frameworks/Python.framework/Versions/{version_major}.{version_minor}/lib'
30+
expected_lib_dir_path = '/Library/Frameworks/Python.framework/Versions/{0}.{1}/lib'.format(version_major, version_minor)
3131
else:
32-
expected_lib_dir_path = f'{os.getenv("AGENT_TOOLSDIRECTORY")}/Python/{version}/x64/lib'
32+
expected_lib_dir_path = '{os.getenv("AGENT_TOOLSDIRECTORY")}/Python/{0}/x64/lib'.format(version)
3333

3434
# Check modules
3535
### Validate libraries path
@@ -81,4 +81,4 @@
8181
if sys.version_info < (3, 12):
8282
if not have_libreadline:
8383
print('Missing libreadline')
84-
exit(1)
84+
exit(1)

0 commit comments

Comments
 (0)