Skip to content

Commit

Permalink
pythonPackages.pyopenssl: disable tests on Darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
copumpkin committed Mar 10, 2017
1 parent e3cb24d commit 8e61b7f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -21540,11 +21540,15 @@ in {

checkPhase = ''
runHook preCheck
export LANG="en_US.UTF-8";
py.test;
export LANG="en_US.UTF-8"
py.test
runHook postCheck
'';

# Seems to fail unpredictably on Darwin. See http://hydra.nixos.org/build/49877419/nixlog/1
# for one example, but I've also seen ContextTests.test_set_verify_callback_exception fail.
doCheck = !stdenv.isDarwin;

buildInputs = [ pkgs.openssl self.pytest pkgs.glibcLocales ];
propagatedBuildInputs = [ self.cryptography self.pyasn1 self.idna ];
};
Expand Down

0 comments on commit 8e61b7f

Please sign in to comment.