python3Packages.pyro5: disable local network tests on darwin

This commit is contained in:
Jonathan Ringer 2021-12-25 11:04:57 -08:00 committed by Jonathan Ringer
parent 6a437aa641
commit feabe463e6

View File

@ -1,6 +1,7 @@
{ buildPythonPackage
, fetchPypi
, lib
, stdenv
, serpent
, pythonOlder
, pytestCheckHook
@ -22,7 +23,10 @@ buildPythonPackage rec {
checkInputs = [ pytestCheckHook ];
# ignore network related tests, which fail in sandbox
disabledTests = [ "StartNSfunc" "Broadcast" "GetIP" "TestNameServer" "TestBCSetup" ];
disabledTests = [ "StartNSfunc" "Broadcast" "GetIP" "TestNameServer" "TestBCSetup" ]
++ lib.optionals stdenv.hostPlatform.isDarwin [
"Socket"
];
meta = with lib; {
description = "Distributed object middleware for Python (RPC)";