Skip to content

MAINT XFAIL test_linear_model_normalize_deprecation_message on macos #21396

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

Merged
Merged
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
6 changes: 6 additions & 0 deletions sklearn/linear_model/tests/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import pytest

import sys
import numpy as np

from sklearn.base import is_classifier
Expand All @@ -15,6 +16,7 @@
from sklearn.linear_model import BayesianRidge
from sklearn.linear_model import ARDRegression

from sklearn.utils.fixes import np_version, parse_version
from sklearn.utils import check_random_state


Expand All @@ -35,6 +37,10 @@
],
)
# FIXME remove test in 1.2
@pytest.mark.xfail(
sys.platform == "darwin" and np_version < parse_version("1.22"),
reason="https://github.com/scikit-learn/scikit-learn/issues/21395",
)
def test_linear_model_normalize_deprecation_message(
estimator, normalize, n_warnings, warning_category
):
Expand Down