pythonPackages.pyres: Disable tests on darwin

This commit is contained in:
Sandro Jäckel 2021-01-22 14:13:34 +01:00
parent cacda1bce6
commit 8c4f9067b1
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -1,4 +1,4 @@
{ lib, fetchPypi, buildPythonPackage, fetchFromGitHub, simplejson, redis, setproctitle, nose, pkgs }:
{ lib, stdenv, fetchPypi, buildPythonPackage, fetchFromGitHub, simplejson, redis, setproctitle, nose, pkgs }:
let
@ -31,6 +31,9 @@ buildPythonPackage rec {
sha256 = "1rkpv7gbjxl9h9g7kncmsrgmi77l7pgfq8d7dbnsr3ia2jmjqb8y";
};
# started redis-server makes this hang on darwin
doCheck = !stdenv.isDarwin;
checkPhase = ''
redis-server &
nosetests . --exclude test_worker_pids