From 2569535084b2ab33b2cd44ddb08b1f756ac36f78 Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Mon, 31 Jul 2023 16:18:43 -0400 Subject: [PATCH] FIX: Skip --- mne/decoding/tests/test_base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mne/decoding/tests/test_base.py b/mne/decoding/tests/test_base.py index dde633feda5..18a7165f970 100644 --- a/mne/decoding/tests/test_base.py +++ b/mne/decoding/tests/test_base.py @@ -458,6 +458,7 @@ def test_cross_val_multiscore(): def test_sklearn_compliance(): """Test LinearModel compliance with sklearn.""" + pytest.importorskip("sklearn") from sklearn.utils.estimator_checks import check_estimator from sklearn.linear_model import LogisticRegression