Skip to content

Commit 8d8ce13

Browse files
authored
gh-94205: Ensures all required DLLs are copied on Windows for underpth tests (GH-94206)
1 parent 92d32b9 commit 8d8ce13

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_site.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,8 @@ def _create_underpth_exe(self, lines, exe_pth=True):
572572
dll_file = os.path.join(temp_dir, os.path.split(dll_src_file)[1])
573573
shutil.copy(sys.executable, exe_file)
574574
shutil.copy(dll_src_file, dll_file)
575+
for fn in glob.glob(os.path.join(os.path.split(dll_src_file)[0], "vcruntime*.dll")):
576+
shutil.copy(fn, os.path.join(temp_dir, os.path.split(fn)[1]))
575577
if exe_pth:
576578
_pth_file = os.path.splitext(exe_file)[0] + '._pth'
577579
else:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy