Skip to content

Commit

Permalink
Try with additional flag for Win8
Browse files Browse the repository at this point in the history
  • Loading branch information
zooba committed Mar 30, 2019
1 parent d9be146 commit ec8f81f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Lib/ctypes/test/test_loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ def should_fail(command):

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

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

0 comments on commit ec8f81f

Please sign in to comment.