@@ -37,9 +37,7 @@ buildPythonPackage rec {
3737 preCheck = "PYTHONPATH=tests/PyroTests:$PYTHONPATH";
3838
3939 # ignore network related tests, which fail in sandbox
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" ];
40+ pytestFlagsArray = [ "--ignore=tests/PyroTests/test_naming.py" ];
4341
4442 disabledTests = [
4543 "StartNSfunc"
@@ -47,6 +45,9 @@ buildPythonPackage rec {
4745 "GetIP"
4846 ];
4947
48+ # otherwise the tests hang the build
49+ __darwinAllowLocalNetworking = true;
50+
5051 meta = with stdenv.lib; {
5152 description = "Distributed object middleware for Python (RPC)";
5253 homepage = "https://github.com/irmen/Pyro4";