summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2017-09-23 17:58:19 +0100
committerRobin Gloster <mail@glob.in>2017-09-23 19:01:41 +0200
commit9ca4f39b9716ea9b7b001763c9f7c5bef051a10c (patch)
tree7c25de9abc8c4c4822c8bb9fd8a43e1a59bfc4bd /pkgs/development/python-modules
parent08b09fdc5cff4249c9986f2403d2e4cea6e62feb (diff)
downloadnixlib-9ca4f39b9716ea9b7b001763c9f7c5bef051a10c.tar
nixlib-9ca4f39b9716ea9b7b001763c9f7c5bef051a10c.tar.gz
nixlib-9ca4f39b9716ea9b7b001763c9f7c5bef051a10c.tar.bz2
nixlib-9ca4f39b9716ea9b7b001763c9f7c5bef051a10c.tar.lz
nixlib-9ca4f39b9716ea9b7b001763c9f7c5bef051a10c.tar.xz
nixlib-9ca4f39b9716ea9b7b001763c9f7c5bef051a10c.tar.zst
nixlib-9ca4f39b9716ea9b7b001763c9f7c5bef051a10c.zip
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
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/python-gnupg/default.nix3
1 files changed, 2 insertions, 1 deletions
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; {