Skip to content
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

MAINT adjust tolerance in test_balance_property #25098

Merged

Conversation

ogrisel
Copy link
Member

@ogrisel ogrisel commented Dec 2, 2022

Fixes #25095 to make the test pass with:

  SKLEARN_TESTS_GLOBAL_RANDOM_SEED=74

for LogisticRegressionCV.

Fixes scikit-learn#25095 to make the test pass with:

  SKLEARN_TESTS_GLOBAL_RANDOM_SEED=74

for LogisticRegressionCV.
@ogrisel
Copy link
Member Author

ogrisel commented Dec 2, 2022

I tested locally with:

SKLEARN_TESTS_GLOBAL_RANDOM_SEED=all pytest -k"test_balance_property" sklearn/linear_model/tests/test_common.py -v

and all 3500 non-skipped tests now pass with the adjusted rel value.

Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thomasjpfan thomasjpfan added the Quick Review For PRs that are quick to review label Dec 2, 2022
@glemaitre glemaitre merged commit caefdd4 into scikit-learn:main Dec 2, 2022
@glemaitre
Copy link
Member

LGTM. Thanks @ogrisel

jjerphan pushed a commit to jjerphan/scikit-learn that referenced this pull request Jan 20, 2023
jjerphan pushed a commit to jjerphan/scikit-learn that referenced this pull request Jan 20, 2023
jjerphan pushed a commit to jjerphan/scikit-learn that referenced this pull request Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

⚠️ CI failed on Linux_nogil.pylatest_pip_nogil ⚠️
3 participants