Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit51fd4de

Browse files
authored
gh-94205: Ensures all required DLLs are copied on Windows for underpth tests (GH-94206)
1 parent8625802 commit51fd4de

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
@@ -570,6 +570,8 @@ def _create_underpth_exe(self, lines, exe_pth=True):
570570
dll_file=os.path.join(temp_dir,os.path.split(dll_src_file)[1])
571571
shutil.copy(sys.executable,exe_file)
572572
shutil.copy(dll_src_file,dll_file)
573+
forfninglob.glob(os.path.join(os.path.split(dll_src_file)[0],"vcruntime*.dll")):
574+
shutil.copy(fn,os.path.join(temp_dir,os.path.split(fn)[1]))
573575
ifexe_pth:
574576
_pth_file=os.path.splitext(exe_file)[0]+'._pth'
575577
else:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp