Unverified Kaydet (Commit) ac19d965 authored tarafından Steve Dower's avatar Steve Dower Kaydeden (comit) GitHub

bpo-36085: Add additional load flag to ensure DLL loads successfully (GH-12633)

üst e7241527
......@@ -167,7 +167,8 @@ class LoaderTest(unittest.TestCase):
# Full path load with DLL_LOAD_DIR should succeed
should_pass("WinDLL(nt._getfullpathname('_sqlite3.dll'), " +
"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());" +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment