Skip to content

Commit c83f003

Browse files
bpo-40214: Temporarily disable a ctypes test (GH-19404)
Only one particular sub-test of ctypes.test.test_loading.test_load_dll_with_flags is disabled, which caused failures on Azure Pipelines CI. (cherry picked from commit f407e20) Co-authored-by: Zachary Ware <[email protected]>
1 parent 37a257c commit c83f003

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Lib/ctypes/test/test_loading.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,11 @@ def should_fail(command):
158158
# Relative path (but not just filename) should succeed
159159
should_pass("WinDLL('./_sqlite3.dll')")
160160

161-
# Insecure load flags should succeed
162-
should_pass("WinDLL('_sqlite3.dll', winmode=0)")
161+
# XXX: This test has started failing on Azure Pipelines CI. See
162+
# bpo-40214 for more information.
163+
if 0:
164+
# Insecure load flags should succeed
165+
should_pass("WinDLL('_sqlite3.dll', winmode=0)")
163166

164167
# Full path load without DLL_LOAD_DIR shouldn't find dependency
165168
should_fail("WinDLL(nt._getfullpathname('_sqlite3.dll'), " +

0 commit comments

Comments
 (0)