Skip to content

DOC Adds missing imports into examples and checks them in tests #21186

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 1 commit into from
Sep 29, 2021

Conversation

thomasjpfan
Copy link
Member

Reference Issues/PRs

Follow up to #21156

What does this implement/fix? Explain your changes.

This PR adds missing import in examples and enables the doctests to check them correct.

Any other comments?

Normally, doctest includes everything in the module's scope as stated in the Python docs.

CC @glemaitre

@glemaitre
Copy link
Member

Thanks @thomasjpfan I did not have time to check it yet
LGTM

@glemaitre glemaitre merged commit d1285a9 into scikit-learn:main Sep 29, 2021
@glemaitre glemaitre mentioned this pull request Oct 23, 2021
10 tasks
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Oct 23, 2021
samronsin pushed a commit to samronsin/scikit-learn that referenced this pull request Nov 30, 2021
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