pythonPackages.passlib: disable native support test on darwin (#197077)

Several instances of this test fail with error like:

AssertionError: did not expect 'darwin' platform would have native support for '...'

It looks like passlib's tests erroneously assume that some methods
should not have support on Darwin while current nixpkgs does
support it through libxcrypt.

authored by

Yuriy Taraday and committed by
GitHub
a2d5dc2c 95aeaf83

+7 -2
+7 -2
pkgs/development/python-modules/passlib/default.nix
··· 1 1 { lib 2 + , stdenv 2 3 , buildPythonPackage 3 4 , fetchPypi 4 5 , argon2-cffi ··· 25 26 checkInputs = [ 26 27 pytestCheckHook 27 28 ] ++ passthru.optional-dependencies.argon2 28 - ++ passthru.optional-dependencies.bcrypt 29 - ++ passthru.optional-dependencies.totp; 29 + ++ passthru.optional-dependencies.bcrypt 30 + ++ passthru.optional-dependencies.totp; 30 31 31 32 disabledTests = [ 32 33 # timming sensitive 33 34 "test_dummy_verify" 35 + ] 36 + # These tests fail because they don't expect support for algorithms provided through libxcrypt 37 + ++ lib.optionals stdenv.isDarwin [ 38 + "test_82_crypt_support" 34 39 ]; 35 40 36 41 meta = with lib; {