8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13fa2f8 commit 1a7eec8Copy full SHA for 1a7eec8
sklearn/linear_model/tests/test_common.py
@@ -4,6 +4,7 @@
4
5
import pytest
6
7
+import sys
8
import numpy as np
9
10
from sklearn.base import is_classifier
@@ -15,6 +16,7 @@
15
16
from sklearn.linear_model import BayesianRidge
17
from sklearn.linear_model import ARDRegression
18
19
+from sklearn.utils.fixes import np_version, parse_version
20
from sklearn.utils import check_random_state
21
22
@@ -35,6 +37,10 @@
35
37
],
36
38
)
39
# 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
+)
44
def test_linear_model_normalize_deprecation_message(
45
estimator, normalize, n_warnings, warning_category
46
):
0 commit comments