@@ -32,10 +32,15 @@ buildPythonPackage rec {
34 checkInputs = [ pytestCheckHook ];
34 checkInputs = [ pytestCheckHook ];
35 # add testsupport.py to PATH
36 # add testsupport.py to PATH
36 preCheck = "PYTHONPATH=tests/PyroTests:$PYTHONPATH";
37 preCheck = "PYTHONPATH=tests/PyroTests:$PYTHONPATH";
37 # ignore network related tests, which fail in sandbox
39 # ignore network related tests, which fail in sandbox
38− pytestFlagsArray = [ "--ignore=tests/PyroTests/test_naming.py" ];
40+ pytestFlagsArray = [ "--ignore=tests/PyroTests/test_naming.py" ]
41+ # test hangs on darwin with sandbox enabled
42+ ++ lib.optionals stdenv.isDarwin [ "--ignore=tests/PyroTests/test_daemon.py" ];
39 disabledTests = [
44 disabledTests = [
40 "StartNSfunc"
45 "StartNSfunc"
41 "Broadcast"
46 "Broadcast"
@@ -47,5 +52,5 @@ buildPythonPackage rec {
47 homepage = "https://github.com/irmen/Pyro4";
52 homepage = "https://github.com/irmen/Pyro4";
48 license = licenses.mit;
53 license = licenses.mit;
49 maintainers = with maintainers; [ prusnak ];
54 maintainers = with maintainers; [ prusnak ];