Skip to content

Commit ec8f81f

Browse files
committed
Try with additional flag for Win8
1 parent d9be146 commit ec8f81f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/ctypes/test/test_loading.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,8 @@ def should_fail(command):
175175

176176
# Full path load with DLL_LOAD_DIR should succeed
177177
should_pass("WinDLL({!r}, ".format(target) +
178-
"winmode=nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR)")
178+
"winmode=nt._LOAD_LIBRARY_SEARCH_SYSTEM32|" +
179+
"nt._LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR)")
179180

180181
# User-specified directory should succeed
181182
should_pass("import os; p = os.add_dll_directory(os.getcwd());" +

0 commit comments

Comments
 (0)