8000 XFAIL test_linear_model_normalize_deprecation_message on macos (#21396) · scikit-learn/scikit-learn@1a7eec8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1a7eec8

Browse files
authored
XFAIL test_linear_model_normalize_deprecation_message on macos (#21396)
1 parent 13fa2f8 commit 1a7eec8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sklearn/linear_model/tests/test_common.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import pytest
66

7+
import sys
78
import numpy as np
89

910
from sklearn.base import is_classifier
@@ -15,6 +16,7 @@
1516
from sklearn.linear_model import BayesianRidge
1617
from sklearn.linear_model import ARDRegression
1718

19+
from sklearn.utils.fixes import np_version, parse_version
1820
from sklearn.utils import check_random_state
1921

2022

@@ -35,6 +37,10 @@
3537
],
3638
)
3739
# FIXME remove test in 1.2
40+
@pytest.mark.xfail(
41+
sys.platform == "darwin" and np_version < parse_version("1.22"),
42+
reason="https://github.com/scikit-learn/scikit-learn/issues/21395",
43+
)
3844
def test_linear_model_normalize_deprecation_message(
3945
estimator, normalize, n_warnings, warning_category
4046
):

0 commit comments

Comments
 (0)
0