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

Implicit import of a function in its docstring #57

Open
ev-br opened this issue Aug 3, 2022 · 0 comments
Open

Implicit import of a function in its docstring #57

ev-br opened this issue Aug 3, 2022 · 0 comments
Labels
enhancement New features w.r.t. the original refguide-check help wanted Extra attention is needed

Comments

@ev-br
Copy link
Member

ev-br commented Aug 3, 2022

Reported as being used in scikit-image. Not sure if it's that good of an idea, but if there actually is a user request, then why not, maybe with a flag in DTConfig.

This would be likely a use case for DocTest.extraglobs -- will need to populate by in a DTParser.parse (or as post processing, from the test.name attribute)

@ev-br ev-br added enhancement New features w.r.t. the original refguide-check help wanted Extra attention is needed labels Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features w.r.t. the original refguide-check help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant