-
Notifications
You must be signed in to change notification settings - Fork 437
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
Add a warning on attempted import. #1977
Conversation
Hello @arokem, Thank you for updating ! Cheers ! There are no PEP8 issues in this Pull Request. 🍻 Comment last updated at 2019-10-16 17:52:34 UTC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, Thank you for that @arokem!
Can you add a quick test?
Any chance to have a test for this PR @arokem? |
Codecov Report
@@ Coverage Diff @@
## master #1977 +/- ##
==========================================
+ Coverage 84.09% 84.09% +<.01%
==========================================
Files 118 118
Lines 15018 15020 +2
Branches 2372 2372
==========================================
+ Hits 12629 12631 +2
Misses 1829 1829
Partials 560 560
|
Sorry - yes - I have this for now. But it seems to be failing... I don't understand why the warning is not being captured by catch_warnings. It's definitely being emitted! |
Thanks! Maybe because of a warning filter rules. I do not know which one but I got this problem once. |
[fix] update test for import error
Thank you for this @arokem! Merging |
Would this properly address #1976 ?
The cryptic error is still raised, but is preceded by a warning: