diff options
author | Sam Gross <colesbury@gmail.com> | 2024-07-11 20:21:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-11 20:21:37 (GMT) |
commit | e8c91d90ba8fab410a27fad4f709cc73f6ffcbf4 (patch) | |
tree | 36cb7333d35e61f7665ce16fc11c75749ed6677b /Lib/test/test_site.py | |
parent | 5250a031332eb9499d5fc190d7287642e5a144b9 (diff) | |
download | cpython-e8c91d90ba8fab410a27fad4f709cc73f6ffcbf4.zip cpython-e8c91d90ba8fab410a27fad4f709cc73f6ffcbf4.tar.gz cpython-e8c91d90ba8fab410a27fad4f709cc73f6ffcbf4.tar.bz2 |
gh-121103: Put free-threaded libraries in `lib/python3.14t` (#121293)
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.
Diffstat (limited to 'Lib/test/test_site.py')
-rw-r--r-- | Lib/test/test_site.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index bcdc232..035913c 100644 --- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py @@ -328,13 +328,13 @@ class HelperFunctionsTests(unittest.TestCase): if sys.platlibdir != "lib": self.assertEqual(len(dirs), 2) wanted = os.path.join('xoxo', sys.platlibdir, - 'python%d.%d' % sys.version_info[:2], + f'python{sysconfig._get_python_version_abi()}', 'site-packages') self.assertEqual(dirs[0], wanted) else: self.assertEqual(len(dirs), 1) wanted = os.path.join('xoxo', 'lib', - 'python%d.%d' % sys.version_info[:2], + f'python{sysconfig._get_python_version_abi()}', 'site-packages') self.assertEqual(dirs[-1], wanted) else: |