diff --git a/pkgs/development/python-modules/nilearn/default.nix b/pkgs/development/python-modules/nilearn/default.nix index 14bb15184b59..32ec4b74509d 100644 --- a/pkgs/development/python-modules/nilearn/default.nix +++ b/pkgs/development/python-modules/nilearn/default.nix @@ -14,18 +14,12 @@ buildPythonPackage rec { # disable some failing tests checkPhase = '' nosetests nilearn/tests \ - -e test_cache_mixin_with_expand_user -e test_clean_confounds -e test_detrend + -e test_cache_mixin_with_expand_user -e test_clean_confounds -e test_detrend \ + -e test_clean_detrending -e test_high_variance_confounds ''; checkInputs = [ nose ]; - # These tests fail on some builder machines, probably due to lower - # arithmetic precision. Reduce required precision from 13 to 8 decimals. - postPatch = '' - substituteInPlace nilearn/tests/test_signal.py \ - --replace 'decimal=13' 'decimal=8' - ''; - propagatedBuildInputs = [ matplotlib nibabel