Repository navigation
Conversation
FrancoisPgm
approved these changes
Aug 13, 2026
FrancoisPgm
left a comment
Member
There was a problem hiding this comment.
LGTM, thanks.
I prefer "utils" over "common", but it's the name used everywhere else so I won't argue.
Member
|
Let's merge this! I honestly haven't looked at it but this is a test-only change and I 100% trust @FrancoisPgm on this. |
lesteve
approved these changes
Aug 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As we're adding more testing callbacks and estimators in
sklearn.callback.test._utils, I find it harder and harder to read and navigate. This PR is just a structural change that proposes to split it into 2:Another motivation for this structural change is that I'm working on adding common tests to check callback support of an estimator (sklearn or third party) and it would be adding new utilities that would have reduced readability once again.
I also didn't keep the name "_utils" but changed it to "_common" since it looked to be what's usually used in the rest of the project for testing utilities.
Finally I also moved
skip_callback_test_if_wasmintosklearn.utils._testingbecause it's where all other markers are defined so it felt like it was a more natural place for it.ping @FrancoisPgm