Merge pull request #234205 from yl3dy/unbreak_fenics
python3Packages.fenics: fixed tests for FIAT
This commit is contained in:
commit
c0b553b619
|
@ -73,6 +73,12 @@ let
|
|||
rm test/unit/test_quadrature.py
|
||||
rm test/unit/test_reference_element.py
|
||||
rm test/unit/test_fiat.py
|
||||
|
||||
# Fix `np.float` deprecation in Numpy 1.20
|
||||
grep -lr 'np.float(' test/ | while read -r fn; do
|
||||
substituteInPlace "$fn" \
|
||||
--replace "np.float(" "np.float64("
|
||||
done
|
||||
'';
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
|
Loading…
Reference in a new issue