From cfb91f812b79cdf923f63e2cbb6dd5f09c03122c Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sun, 7 Nov 2021 16:34:01 +0000 Subject: [PATCH] python3Packages.commoncode: disable test_searchable_paths on darwin --- pkgs/development/python-modules/commoncode/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/commoncode/default.nix b/pkgs/development/python-modules/commoncode/default.nix index 04921a618c25..142245221312 100644 --- a/pkgs/development/python-modules/commoncode/default.nix +++ b/pkgs/development/python-modules/commoncode/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , attrs , beautifulsoup4 , buildPythonPackage @@ -48,6 +49,11 @@ buildPythonPackage rec { pytestCheckHook pytest-xdist ]; + disabledTests = lib.optionals stdenv.isDarwin [ + # expected result is tailored towards the quirks of upstream's + # CI environment on darwin + "test_searchable_paths" + ]; pythonImportsCheck = [ "commoncode"