3
0
Fork 0
forked from mirrors/nixpkgs

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 { buildPythonPackage
, fetchPypi , fetchPypi
, lib , lib
, stdenv
, serpent , serpent
, pythonOlder , pythonOlder
, pytestCheckHook , pytestCheckHook
@ -22,7 +23,10 @@ buildPythonPackage rec {
checkInputs = [ pytestCheckHook ]; checkInputs = [ pytestCheckHook ];
# ignore network related tests, which fail in sandbox # 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; { meta = with lib; {
description = "Distributed object middleware for Python (RPC)"; description = "Distributed object middleware for Python (RPC)";