forked from mirrors/nixpkgs
python3Packages.pyro5: disable local network tests on darwin
This commit is contained in:
parent
6a437aa641
commit
feabe463e6
|
@ -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)";
|
||||||
|
|
Loading…
Reference in a new issue