From 9eefe2b8b9d4784f218ee1112fb3fbbc041fbd5e Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Wed, 24 May 2023 19:34:13 -0400 Subject: [PATCH] python3Packages.keyring: disable tests that fail with Darwin sandbox --- pkgs/development/python-modules/keyring/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/keyring/default.nix b/pkgs/development/python-modules/keyring/default.nix index 3e3cf64ce1c..f0989d493d9 100644 --- a/pkgs/development/python-modules/keyring/default.nix +++ b/pkgs/development/python-modules/keyring/default.nix @@ -47,7 +47,9 @@ buildPythonPackage rec { disabledTestPaths = [ "tests/backends/test_macOS.py" - ]; + ] + # These tests fail when sandboxing is enabled because they are unable to get a password from keychain. + ++ lib.optional stdenv.isDarwin "tests/test_multiprocess.py"; meta = with lib; { description = "Store and access your passwords safely";