⬆️ imp to importlib #892#893
Conversation
|
Can anybody solve this error? It seems the CI problem. |
|
@tkoyama010 That error seems to be case of #861. I've restarted the failing Travis job to see if we can get it to pass. |
mdickinson
left a comment
There was a problem hiding this comment.
You'll need to fix the places where imp is used to use importlib instead. Ideally, we should also have a test that exercises that code.
Codecov Report
@@ Coverage Diff @@
## master #893 +/- ##
==========================================
- Coverage 50.87% 50.86% -0.01%
==========================================
Files 263 263
Lines 23843 23843
Branches 3251 3251
==========================================
- Hits 12130 12128 -2
- Misses 10927 10928 +1
- Partials 786 787 +1
Continue to review full report at Codecov.
|
|
I also fixed the test source code 🆙 |
|
Oops. It fails only in Python 2.7 😢 Should I revert 7998d70 |
|
I move importlib to reload_module in six 😄 |
|
@mdickinson -- is this OK to merge? You have a review and I do not want to dismiss it. Thanks. |
|
@prabhuramachandran Sure. I still think there should be a test that exercises the code, but that's up to you. :-) |
This should address the lack of tests in enthought#893. Also cleaned up the base module a little in the process.
|
Merging this now, I am addressing some tests (not the greatest test but it is something) in #913. |
This should address the lack of tests in enthought#893. Also cleaned up the base module a little in the process.
|
Thanks. |
⬆️ imp to importlib #892