]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-40214: Temporarily disable a ctypes test (GH-19404)
authorZachary Ware <zach@python.org>
Tue, 7 Apr 2020 06:39:58 +0000 (01:39 -0500)
committerGitHub <noreply@github.com>
Tue, 7 Apr 2020 06:39:58 +0000 (01:39 -0500)
Only one particular sub-test of
ctypes.test.test_loading.test_load_dll_with_flags is disabled, which
caused failures on Azure Pipelines CI.

Lib/ctypes/test/test_loading.py

index 9b97d80086044d77c92408fa7720257155858132..a62044e370af69f10e074d694c289f9aeb127270 100644 (file)
@@ -158,8 +158,11 @@ class LoaderTest(unittest.TestCase):
             # Relative path (but not just filename) should succeed
             should_pass("WinDLL('./_sqlite3.dll')")
 
-            # Insecure load flags should succeed
-            should_pass("WinDLL('_sqlite3.dll', winmode=0)")
+            # XXX: This test has started failing on Azure Pipelines CI.  See
+            #      bpo-40214 for more information.
+            if 0:
+                # Insecure load flags should succeed
+                should_pass("WinDLL('_sqlite3.dll', winmode=0)")
 
             # Full path load without DLL_LOAD_DIR shouldn't find dependency
             should_fail("WinDLL(nt._getfullpathname('_sqlite3.dll'), " +