summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sysconfig.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-07-11 21:00:28 (GMT)
committerGitHub <noreply@github.com>2024-07-11 21:00:28 (GMT)
commit35f7155bc39b8e5212b90a2ee96cb107b51e0e83 (patch)
treef29a5ec83ce96d65bc770ade3fad467ca3f6bbeb /Lib/test/test_sysconfig.py
parentc6dbfbbe3c24cf2dd6a589904383f28cd1a1f4db (diff)
downloadcpython-35f7155bc39b8e5212b90a2ee96cb107b51e0e83.zip
cpython-35f7155bc39b8e5212b90a2ee96cb107b51e0e83.tar.gz
cpython-35f7155bc39b8e5212b90a2ee96cb107b51e0e83.tar.bz2
[3.13] gh-121103: Put free-threaded libraries in `lib/python3.14t` (GH-121293) (#121631)
On POSIX systems, excluding macOS framework installs, the lib directory for the free-threaded build now includes a "t" suffix to avoid conflicts with a co-located default build installation. (cherry picked from commit e8c91d90ba8fab410a27fad4f709cc73f6ffcbf4) Co-authored-by: Sam Gross <colesbury@gmail.com>
Diffstat (limited to 'Lib/test/test_sysconfig.py')
-rw-r--r--Lib/test/test_sysconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_sysconfig.py b/Lib/test/test_sysconfig.py
index 9233304..37cee92 100644
--- a/Lib/test/test_sysconfig.py
+++ b/Lib/test/test_sysconfig.py
@@ -157,7 +157,7 @@ class TestSysConfig(unittest.TestCase):
binpath = 'bin'
incpath = 'include'
libpath = os.path.join('lib',
- 'python%d.%d' % sys.version_info[:2],
+ f'python{sysconfig._get_python_version_abi()}',
'site-packages')
# Resolve the paths in an imaginary venv/ directory