Skip to content

bpo-30202 : Update test.test_importlib.test_abc to test find_spec()#12847

Merged
brettcannon merged 5 commits intopython:masterfrom
nanjekyejoannah:issue30202
Jun 21, 2019
Merged

bpo-30202 : Update test.test_importlib.test_abc to test find_spec()#12847
brettcannon merged 5 commits intopython:masterfrom
nanjekyejoannah:issue30202

Conversation

@nanjekyejoannah
Copy link
Copy Markdown
Contributor

@nanjekyejoannah nanjekyejoannah commented Apr 15, 2019

I have added a test for find_spec() in test.test_importlib.test_abc and also made some other tests use find_spec instead of find_module().

I may have not looked at all possible areas to use find_spec(), so please let me know in the reviews for this PR.

https://bugs.python.org/issue30202

@brettcannon brettcannon self-requested a review April 16, 2019 18:46
@nanjekyejoannah
Copy link
Copy Markdown
Contributor Author

ping @brettcannon for any thoughts on this PR.

@brettcannon
Copy link
Copy Markdown
Member

@nanjekyejoannah it's in my review queue, I just need to actually start clearing my review queue. 😉 I do promise to eventually get to this, I just can't promise when (but hopefully in the next week or two).

@nanjekyejoannah
Copy link
Copy Markdown
Contributor Author

@brettcannon got it :) , thanks!

Copy link
Copy Markdown
Member

@brettcannon brettcannon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, but you inadvertently removed all tests of the DeprecationWarning for find_module(). 😄 Could you add an explicit test for that?

Comment thread Lib/test/test_importlib/test_abc.py Outdated
@bedevere-bot
Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

And if you don't make the requested changes, you will be put in the comfy chair!

@nanjekyejoannah
Copy link
Copy Markdown
Contributor Author

I have made the requested changes; please review again.

@bedevere-bot
Copy link
Copy Markdown

Thanks for making the requested changes!

@brettcannon: please review the changes made to this pull request.

@brettcannon brettcannon self-requested a review June 7, 2019 20:48
@brettcannon
Copy link
Copy Markdown
Member

Thanks!

@nanjekyejoannah
Copy link
Copy Markdown
Contributor Author

@brettcannon, I can close the issue now I guess?

@nanjekyejoannah nanjekyejoannah deleted the issue30202 branch June 21, 2019 20:16
@brettcannon
Copy link
Copy Markdown
Member

@nanjekyejoannah I closed it. I usually do it the next time I go through my b.p.o notifications and see the commit message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants