Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MAINT: make scipy-doctest usage forward-compatible #31609

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions build_tools/azure/test_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ if [[ "$scipy_doctest_installed" == "True" ]]; then
# conda with putting conda in the PATH and source activate, rather than
# source <conda_root>/etc/profile.d/conda.sh + conda activate.
cd $TEST_DIR
# with scipy-doctest, --doctest-modules only runs doctests (in contrary to
# vanilla pytest where it runs doctests on top of normal tests)
python -m pytest --doctest-modules --pyargs sklearn
python -m pytest --doctest-modules --doctest-only-doctests=true --pyargs sklearn
python -m pytest --doctest-modules $doc_rst_files
fi
Loading