about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/joblib/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/joblib/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/joblib/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/joblib/default.nix b/nixpkgs/pkgs/development/python-modules/joblib/default.nix
index 9b2a5c447327..c16c7687c8a3 100644
--- a/nixpkgs/pkgs/development/python-modules/joblib/default.nix
+++ b/nixpkgs/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 = {