From 5915d185be5046d3a6c4933d9eb692643bf03e9e Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 23 Mar 2024 09:33:25 -0400 Subject: [PATCH] Remove ignore check for macOS API module now that compatible versions of Python 3.8 are in CI. Ref #547. --- conftest.py | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/conftest.py b/conftest.py index 2dce06d4..ba242f14 100644 --- a/conftest.py +++ b/conftest.py @@ -1,21 +1 @@ -import ctypes - collect_ignore = ["hook-keyring.backend.py"] - - -def macos_api_ignore(): - """ - Starting with macOS 11, the security API becomes - non-viable except on universal2 binaries. - - Ref #525. - """ - - try: - ctypes.CDLL(ctypes.util.find_library('Security')).SecItemAdd - return False - except Exception: - return True - - -collect_ignore.extend(['keyring/backends/macOS/api.py'] * macos_api_ignore())