summaryrefslogtreecommitdiff
path: root/Lib/ctypes
diff options
context:
space:
mode:
authorZachary Ware <zach@python.org>2020-04-07 01:39:58 -0500
committerGitHub <noreply@github.com>2020-04-07 01:39:58 -0500
commitf407e209c1e35b64835f73e7e7ca23e33817e9fe (patch)
tree549a68fbe265939f08028658d8c6314964c56873 /Lib/ctypes
parent8ea10a94463f1ea217bcaef86f2ebd9d43240b4e (diff)
downloadcpython-git-f407e209c1e35b64835f73e7e7ca23e33817e9fe.tar.gz
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.
Diffstat (limited to 'Lib/ctypes')
-rw-r--r--Lib/ctypes/test/test_loading.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/Lib/ctypes/test/test_loading.py b/Lib/ctypes/test/test_loading.py
index 9b97d80086..a62044e370 100644
--- a/Lib/ctypes/test/test_loading.py
+++ b/Lib/ctypes/test/test_loading.py
@@ -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'), " +