python3Packages.pymanopt: tests now use nose2 (from PR review)
This commit is contained in:
parent
5c0698c5fe
commit
8c01dd2ca0
1 changed files with 7 additions and 7 deletions
|
@ -5,7 +5,6 @@
|
||||||
, scipy
|
, scipy
|
||||||
, autograd
|
, autograd
|
||||||
, nose2
|
, nose2
|
||||||
, pytestCheckHook
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -20,13 +19,14 @@ buildPythonPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ numpy scipy ];
|
propagatedBuildInputs = [ numpy scipy ];
|
||||||
checkInputs = [ nose2 autograd pytestCheckHook ];
|
checkInputs = [ nose2 autograd ];
|
||||||
|
|
||||||
disabledTestPaths = [
|
checkPhase = ''
|
||||||
"tests/test_problem.py"
|
# nose2 doesn't properly support excludes
|
||||||
"tests/test_tensorflow.py"
|
rm tests/test_{problem,tensorflow,theano}.py
|
||||||
"tests/test_theano.py"
|
|
||||||
];
|
nose2 tests -v
|
||||||
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [ "pymanopt" ];
|
pythonImportsCheck = [ "pymanopt" ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue