diff options
author | Steve Dower <steve.dower@python.org> | 2021-12-08 19:25:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-08 19:25:58 (GMT) |
commit | 7778116c2f573edf320bd55301137a968e4339d8 (patch) | |
tree | dfdc3d43400f0f1f511aa0097e4d6bccfc077833 /Lib/test/test_embed.py | |
parent | 3cb9731b7e59b0df9a7a9ab6b7746a669958b693 (diff) | |
download | cpython-7778116c2f573edf320bd55301137a968e4339d8.zip cpython-7778116c2f573edf320bd55301137a968e4339d8.tar.gz cpython-7778116c2f573edf320bd55301137a968e4339d8.tar.bz2 |
bpo-46015: Fixes calculation of sys.path in a venv on Windows (GH-29992)
Also ensures that pybuilddir.txt is written early enough in the build to be picked up by later steps.
Diffstat (limited to 'Lib/test/test_embed.py')
-rw-r--r-- | Lib/test/test_embed.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_embed.py b/Lib/test/test_embed.py index 94161b6..8012d80 100644 --- a/Lib/test/test_embed.py +++ b/Lib/test/test_embed.py @@ -1362,6 +1362,8 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase): if not MS_WINDOWS: paths[-1] = lib_dynload else: + # Include DLLs directory as well + paths.insert(1, '.\\DLLs') for index, path in enumerate(paths): if index == 0: # Because we copy the DLLs into tmpdir as well, the zip file |