Skip to content

Commit

Permalink
#32597 : use pytest instead of nose for networkx 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 67ceb09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build/pkgs/networkx/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$(PYTHON) decorator | $(PYTHON_TOOLCHAIN) scipy $(and $(filter-out no,$(SAGE_CHECK_networkx)), nose pytest)
$(PYTHON) decorator | $(PYTHON_TOOLCHAIN) scipy $(and $(filter-out no,$(SAGE_CHECK_networkx)), pytest)

----------
All lines of this file are ignored except the first.
Expand Down
7 changes: 1 addition & 6 deletions build/pkgs/networkx/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 networkx requires the package nose to be installed'
exit 1
fi

nosetests networkx -v
pytest

0 comments on commit 67ceb09

Please sign in to comment.