Merge pull request #21437 from georgewhewell/bugfix/pythonPackages.joblib

pythonPackages.joblib: skip failing test on darwin
This commit is contained in:
Frederik Rietdijk 2017-02-13 17:54:54 +01:00 committed by GitHub
commit ace12f4e31

View file

@ -9447,8 +9447,8 @@ in {
buildInputs = with self; [ nose sphinx numpydoc ];
# Failing test on Python 3.x
postPatch = '''' + optionalString isPy3k ''
# Failing test on Python 3.x and Darwin
postPatch = '''' + optionalString (isPy3k || stdenv.isDarwin) ''
sed -i -e '70,84d' joblib/test/test_format_stack.py
# test_nested_parallel_warnings: ValueError: Non-zero return code: -9.
# Not sure why but it's nix-specific. Try removing for new joblib releases.