From 9d9ed6791dcf934472d634fa2c8c88cefb90b854 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Fri, 24 Jun 2022 11:09:10 +0100 Subject: [PATCH] gh-94205: Ensures all required DLLs are copied on Windows for underpth tests --- Lib/test/test_site.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/test/test_site.py b/Lib/test/test_site.py index 6822579ad2a50d..9e701fd847acdf 100644 --- a/Lib/test/test_site.py +++ b/Lib/test/test_site.py @@ -570,6 +570,8 @@ def _create_underpth_exe(self, lines, exe_pth=True): dll_file = os.path.join(temp_dir, os.path.split(dll_src_file)[1]) shutil.copy(sys.executable, exe_file) shutil.copy(dll_src_file, dll_file) + for fn in glob.glob(os.path.join(os.path.split(dll_src_file)[0], "vcruntime*.dll")): + shutil.copy(fn, os.path.join(temp_dir, os.path.split(fn)[1])) if exe_pth: _pth_file = os.path.splitext(exe_file)[0] + '._pth' else: 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