pythonPackages.nilearn: fix test_signal tests (#46850)
These tests failed on some machines, probably due to lower arithmetic presicion. Reduce required precision from 13 to 8 decimal digits.
This commit is contained in:
parent
cffad7fb63
commit
970393c34a
1 changed files with 7 additions and 0 deletions
|
@ -19,6 +19,13 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
checkInputs = [ nose ];
|
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 = [
|
propagatedBuildInputs = [
|
||||||
matplotlib
|
matplotlib
|
||||||
nibabel
|
nibabel
|
||||||
|
|
Loading…
Reference in a new issue