Skip to content

TST ensure successful from m import * for all submodules M #2033

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

Closed
jnothman opened this issue Jun 5, 2013 · 1 comment
Closed

TST ensure successful from m import * for all submodules M #2033

jnothman opened this issue Jun 5, 2013 · 1 comment
Labels
Easy Well-defined and straightforward way to resolve
Milestone

Comments

@jnothman
Copy link
Member

jnothman commented Jun 5, 2013

At present, from sklearn.datasets import * is failing due to an error in its __all__ (see #2032). There should be a test to ensure that * can be imported from all modules/packages.

@ogrisel ogrisel closed this as completed in fe03357 Jun 5, 2013
@jnothman
Copy link
Member Author

jnothman commented Jun 6, 2013

Great. I was sure I'd be able to find this implemented elsewhere, but a 10 second search didn't turn up anything. It's nice to be introduced to pkgutil.walk_packages. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Easy Well-defined and straightforward way to resolve
Projects
None yet
Development

No branches or pull requests

1 participant