diff --git a/pkgs/development/python-modules/joblib/default.nix b/pkgs/development/python-modules/joblib/default.nix index 9b2a5c447327..c16c7687c8a3 100644 --- a/pkgs/development/python-modules/joblib/default.nix +++ b/pkgs/development/python-modules/joblib/default.nix @@ -2,6 +2,7 @@ , buildPythonPackage , fetchPypi , fetchpatch +, stdenv , sphinx , numpydoc , pytest @@ -38,10 +39,10 @@ buildPythonPackage rec { checkInputs = [ sphinx numpydoc pytest ]; propagatedBuildInputs = [ python-lz4 ]; - # test_disk_used is broken - # https://github.com/joblib/joblib/issues/57 + # test_disk_used is broken: https://github.com/joblib/joblib/issues/57 + # test_dispatch_multiprocessing is broken only on Darwin. checkPhase = '' - py.test joblib -k "not test_disk_used" + py.test -k 'not test_disk_used${lib.optionalString (stdenv.isDarwin) " and not test_dispatch_multiprocessing"}' joblib/test ''; meta = {