mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
python3.pkgs.pymanopt: add pre and post check
This commit is contained in:
parent
7afc6dc7be
commit
1142380b3f
@ -25,6 +25,7 @@ buildPythonPackage rec {
|
||||
checkInputs = [ nose2 autograd matplotlib tensorflow ];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
# FIXME: Some numpy regression?
|
||||
# Traceback (most recent call last):
|
||||
# File "/build/source/tests/manifolds/test_hyperbolic.py", line 270, in test_second_order_function_approximation
|
||||
@ -35,6 +36,7 @@ buildPythonPackage rec {
|
||||
rm tests/manifolds/test_hyperbolic.py
|
||||
|
||||
nose2 tests -v
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "pymanopt" ];
|
||||
|
Loading…
Reference in New Issue
Block a user