git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.nilearn: disable still failing tests (#46918)

A previous attempt to fix tests failing on some machines (#46850) was unsuccessful, they still failed on Hydra sometimes while succeeding locally. Revert #46850 and disable these tests instead.

commitf3a0c8a3aafb30d6a57e92b4b0b0245510d5a844 authorxeji <36407913+xeji@users.noreply.github.com> dateWed 19 Sep 2018, 23:50 (8 years ago) parent82cc6a7
1 file changed+2−8
pkgs/development/python-modules/nilearn/default.nix+2−8
pkgs/development/python-modules/nilearn/default.nix+2−8
@@ -14,18 +14,12 @@ buildPythonPackage rec {
1414 # disable some failing tests
1515 checkPhase = ''
1616 nosetests nilearn/tests \
17− -e test_cache_mixin_with_expand_user -e test_clean_confounds -e test_detrend
17+ -e test_cache_mixin_with_expand_user -e test_clean_confounds -e test_detrend \
18+ -e test_clean_detrending -e test_high_variance_confounds
1819 '';
1920
2021 checkInputs = [ nose ];
2122
22− # These tests fail on some builder machines, probably due to lower
23− # arithmetic precision. Reduce required precision from 13 to 8 decimals.
24− postPatch = ''
25− substituteInPlace nilearn/tests/test_signal.py \
26− --replace 'decimal=13' 'decimal=8'
27− '';
28−
2923 propagatedBuildInputs = [
3024 matplotlib
3125 nibabel