summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/commoncode
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2021-11-07 16:34:01 +0000
committerRobert Scott <code@humanleg.org.uk>2021-11-07 17:08:41 +0000
commitcfb91f812b79cdf923f63e2cbb6dd5f09c03122c (patch)
tree520a34e3deb35e91a23c53ea0ed82071b8eeea7e /pkgs/development/python-modules/commoncode
parentMerge pull request #144988 from applePrincess/exploitdb-2021-11-06 (diff)
downloadnixpkgs-cfb91f812b79cdf923f63e2cbb6dd5f09c03122c.tar.gz
python3Packages.commoncode: disable test_searchable_paths on darwin
Diffstat (limited to 'pkgs/development/python-modules/commoncode')
-rw-r--r--pkgs/development/python-modules/commoncode/default.nix6
1 files changed, 6 insertions, 0 deletions
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"