Skip to content

MNT SLEP6 move common metadata routing test objects#26894

Merged
glemaitre merged 3 commits intoscikit-learn:mainfrom
adrinjalali:slep6/test/cleanup
Jul 25, 2023
Merged

MNT SLEP6 move common metadata routing test objects#26894
glemaitre merged 3 commits intoscikit-learn:mainfrom
adrinjalali:slep6/test/cleanup

Conversation

@adrinjalali
Copy link
Copy Markdown
Member

This moves common classes and functions for metadata routing to a separate file under tests. This PR does NOT introduce any new classes, it only removes some duplicates, renames some to make them coherent, and fixes the tests to use the new classes.

cc @thomasjpfan since had asked for such cleanups.

cc @OmarManzoor @glemaitre

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jul 25, 2023

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 51486f5. Link to the linter CI: here

@glemaitre
Copy link
Copy Markdown
Member

I know it is not from this PR changes, but we could fix the missing coverage line here: https://github.com/scikit-learn/scikit-learn/pull/26894/files#annotation_12870579022

Copy link
Copy Markdown
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

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

For the rest LGTM.

Copy link
Copy Markdown
Contributor

@OmarManzoor OmarManzoor left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks @adrinjalali

@adrinjalali
Copy link
Copy Markdown
Member Author

Added a test for the registry @glemaitre

@glemaitre glemaitre merged commit 07f6586 into scikit-learn:main Jul 25, 2023
@glemaitre
Copy link
Copy Markdown
Member

Thanks @adrinjalali. LGTM.

@adrinjalali adrinjalali deleted the slep6/test/cleanup branch July 25, 2023 16:46
punndcoder28 pushed a commit to punndcoder28/scikit-learn that referenced this pull request Jul 29, 2023
REDVM pushed a commit to REDVM/scikit-learn that referenced this pull request Nov 16, 2023
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.

3 participants