python.pkgs.cytoolz: fix build

This commit is contained in:
Frederik Rietdijk 2018-01-07 10:02:48 +01:00
parent c8aead477f
commit dceec24705

View File

@ -23,6 +23,12 @@ buildPythonPackage rec {
checkInputs = [ nose ];
propagatedBuildInputs = [ toolz ];
# File as accidentally included in release
# See https://github.com/pytoolz/cytoolz/issues/116#issuecomment-355770073
postPatch = ''
rm cytoolz/tests/test_curried_doctests.py
'';
# Disable failing test https://github.com/pytoolz/cytoolz/issues/97
checkPhase = ''
NOSE_EXCLUDE=test_curried_exceptions nosetests -v $out/${python.sitePackages}