Skip to content

Commit

Permalink
Remove ignore check for macOS API module now that compatible versions…
Browse files Browse the repository at this point in the history
… of Python 3.8 are in CI. Ref #547.
  • Loading branch information
jaraco committed Mar 23, 2024
1 parent 8017052 commit 5915d18
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions 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())

0 comments on commit 5915d18

Please sign in to comment.