diff --git a/build_tools/travis/test_docs.sh b/build_tools/travis/test_docs.sh index 7347f3580a06e..7246165a43767 100755 --- a/build_tools/travis/test_docs.sh +++ b/build_tools/travis/test_docs.sh @@ -9,4 +9,6 @@ if [[ "$BUILD_WITH_ICC" == "true" ]]; then source /opt/intel/inteloneapi/setvars.sh fi -PYTEST="pytest -n $CI_CPU_COUNT" make test-doc +if [[ "$TRAVIS_CPU_ARCH" != "arm64" ]]; then + PYTEST="pytest -n $CI_CPU_COUNT" make test-doc +fi diff --git a/build_tools/travis/test_script.sh b/build_tools/travis/test_script.sh index 3f928a8bdc9c0..f9a3fd4774c36 100755 --- a/build_tools/travis/test_script.sh +++ b/build_tools/travis/test_script.sh @@ -40,6 +40,8 @@ run_tests() { if [[ "$TRAVIS_CPU_ARCH" == "arm64" ]]; then # use pytest-xdist for faster tests TEST_CMD="$TEST_CMD -n $CI_CPU_COUNT" + # remove option to test docstring + sed -i -e 's/--doctest-modules//g' setup.cfg else # Tests that require large downloads over the networks are skipped in CI. # Here we make sure, that they are still run on a regular basis. diff --git a/doc/tutorial/statistical_inference/supervised_learning.rst b/doc/tutorial/statistical_inference/supervised_learning.rst index 013100a054648..3d87830fa0b26 100644 --- a/doc/tutorial/statistical_inference/supervised_learning.rst +++ b/doc/tutorial/statistical_inference/supervised_learning.rst @@ -417,7 +417,7 @@ the separating line (less regularization). .. figure:: /auto_examples/svm/images/sphx_glr_plot_svm_margin_001.png :target: ../../auto_examples/svm/plot_svm_margin.html - + **Unregularized SVM** .. figure:: /auto_examples/svm/images/sphx_glr_plot_svm_margin_002.png