python3Packages.ephemeral-port-reserve: skip test_fqdn on darwin

This commit is contained in:
Robert Scott 2022-04-04 00:43:14 +01:00 committed by Martin Weinelt
parent 5279d5ebc4
commit 2612250311

View File

@ -1,4 +1,5 @@
{ lib { lib
, stdenv
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pytestCheckHook , pytestCheckHook
@ -23,6 +24,11 @@ buildPythonPackage {
pytestCheckHook pytestCheckHook
]; ];
disabledTests = lib.optionals stdenv.isDarwin [
# can't find hostname in our darwin build environment
"test_fqdn"
];
pythonImportsCheck = [ pythonImportsCheck = [
"ephemeral_port_reserve" "ephemeral_port_reserve"
]; ];