From 43dfcd24e2ffae028c2a261d501c832125b3792c Mon Sep 17 00:00:00 2001 From: Sandro Date: Thu, 26 Aug 2021 12:29:00 +0200 Subject: [PATCH] python3Packages.aiofiles: skip failing test on darwin --- pkgs/development/python-modules/aiofiles/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/aiofiles/default.nix b/pkgs/development/python-modules/aiofiles/default.nix index 289da1fb2cc7..05027dc0170d 100644 --- a/pkgs/development/python-modules/aiofiles/default.nix +++ b/pkgs/development/python-modules/aiofiles/default.nix @@ -1,4 +1,5 @@ -{ lib +{ stdenv +, lib , buildPythonPackage , fetchFromGitHub , poetry-core @@ -30,6 +31,10 @@ buildPythonPackage rec { pytestCheckHook ]; + disabledTests = lib.optionals stdenv.isDarwin [ + "test_sendfile_file" + ]; + pythonImportsCheck = [ "aiofiles" ]; meta = {