Skip to content

Commit

Permalink
#32598 : use pytest instead of nose for selftests
Browse files Browse the repository at this point in the history
  • Loading branch information
Thierry Monteil committed Sep 30, 2021
1 parent 52915b6 commit 007683e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build/pkgs/cvxopt/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$(PYTHON) numpy $(BLAS) gsl glpk suitesparse | $(PYTHON_TOOLCHAIN) pkgconfig nose matplotlib
$(PYTHON) numpy $(BLAS) gsl glpk suitesparse | $(PYTHON_TOOLCHAIN) pkgconfig pytest matplotlib

matplotlib is needed to test cvxopt (i.e., if SAGE_CHECK=yes). See #12742.

Expand Down
7 changes: 1 addition & 6 deletions build/pkgs/cvxopt/spkg-check.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
cd src

if ! command -v nosetests ; then
echo >&2 'Testing cvxopt requires the package nose to be installed'
exit 1
fi

nosetests
pytest

0 comments on commit 007683e

Please sign in to comment.