From 9ca4f39b9716ea9b7b001763c9f7c5bef051a10c Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sat, 23 Sep 2017 17:58:19 +0100 Subject: [PATCH] python.pkgs.python-gnupg: disable failing test test_search_keys reading the code, it's hard to see how this test was *ever* supposed to pass. interestingly, peeking across the fence, guix have disabled this test too for the same reason. note that tests don't actually run *at all* on py27 but that's a problem for another day --- pkgs/development/python-modules/python-gnupg/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/python-gnupg/default.nix b/pkgs/development/python-modules/python-gnupg/default.nix index 28870d3db853..9d29e109db49 100644 --- a/pkgs/development/python-modules/python-gnupg/default.nix +++ b/pkgs/development/python-modules/python-gnupg/default.nix @@ -17,7 +17,8 @@ buildPythonPackage rec { substituteInPlace gnupg.py \ --replace "gpgbinary='gpg'" "gpgbinary='${gnupg1}/bin/gpg'" substituteInPlace test_gnupg.py \ - --replace "gpgbinary=GPGBINARY" "gpgbinary='${gnupg1}/bin/gpg'" + --replace "gpgbinary=GPGBINARY" "gpgbinary='${gnupg1}/bin/gpg'" \ + --replace "test_search_keys" "disabled__test_search_keys" ''; meta = with stdenv.lib; {