Skip to content

TST fix all warnings in tests of sklearn.cluster - #35520

Merged
lucyleeow merged 7 commits into
scikit-learn:mainfrom
lorentzenchr:test_warnings_cluster
Nov 25, 2026
Merged

lucyleeow merged 7 commits into
scikit-learn:mainfrom
lorentzenchr:test_warnings_cluster

Conversation

@lorentzenchr

@lorentzenchr lorentzenchr commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Reference Issues/PRs

Toward #5685

What does this implement/fix? Explain your changes.

This PR fixes all warnings in the cluster module, i.e.

pytest -W error -W "ignore::sklearn.exceptions.SkipTestWarning"

now passes.

AI usage disclosure

I used Claude (Fable) for:

  • Code generation

I reviewed all commits.

Any other comments?

@lucyleeow lucyleeow left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@lucyleeow
lucyleeow merged commit e7191bb into scikit-learn:main Nov 25, 2026
50 of 51 checks passed
@lorentzenchr

Copy link
Copy Markdown
Member Author

Fun fact: The PR title is wrong. This was the cluster module 😁

@lorentzenchr
lorentzenchr deleted the test_warnings_cluster branch November 26, 2026 07:10
@lorentzenchr lorentzenchr changed the title TST fix all warnings in tests of sklearn.linear_model TST fix all warnings in tests of sklearn.cluster Nov 26, 2026
@lucyleeow

Copy link
Copy Markdown
Member

Now that you mention it I recall being confused when I looked at the changes but probably thoughts I mis-read and didn't look at the title again 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants