summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2020-01-21 12:15:03 -0800
committerJon <jonringer@users.noreply.github.com>2020-01-22 18:54:41 -0800
commitc2a3fed5b35fc80c42ac8a69665cb01292438076 (patch)
treef44cd959e846e2232bf8c7649c009261e8b5006c /pkgs/development/python-modules
parenta149202c5ac2f9e5b5eb90316746857e019879bd (diff)
downloadnixpkgs-c2a3fed5b35fc80c42ac8a69665cb01292438076.tar
nixpkgs-c2a3fed5b35fc80c42ac8a69665cb01292438076.tar.gz
nixpkgs-c2a3fed5b35fc80c42ac8a69665cb01292438076.tar.bz2
nixpkgs-c2a3fed5b35fc80c42ac8a69665cb01292438076.tar.lz
nixpkgs-c2a3fed5b35fc80c42ac8a69665cb01292438076.tar.xz
nixpkgs-c2a3fed5b35fc80c42ac8a69665cb01292438076.tar.zst
nixpkgs-c2a3fed5b35fc80c42ac8a69665cb01292438076.zip
python3Packages.ppft: re-enable tests
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/ppft/default.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/ppft/default.nix b/pkgs/development/python-modules/ppft/default.nix
index 101c10b1d12..8731c997aa7 100644
--- a/pkgs/development/python-modules/ppft/default.nix
+++ b/pkgs/development/python-modules/ppft/default.nix
@@ -1,6 +1,7 @@
 { stdenv
 , buildPythonPackage
 , fetchPypi
+, python
 , six
 }:
 
@@ -15,8 +16,12 @@ buildPythonPackage rec {
 
   propagatedBuildInputs = [ six ];
 
-  # tests no longer packages on pypi
-  doCheck = false;
+  # darwin seems to hang
+  doCheck = !stdenv.isDarwin;
+  checkPhase = ''
+    cd examples
+    ${python.interpreter} -m ppft.tests
+  '';
 
   meta = with stdenv.lib; {
     description = "Distributed and parallel python";