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

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

Merged
merged 5 commits into from Jun 21, 2019

Conversation

nanjekyejoannah
Copy link
Member

@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
Member Author

ping @brettcannon for any thoughts on this PR.

@brettcannon
Copy link
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
Member Author

@brettcannon got it :) , thanks!

Copy link
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?

Lib/test/test_importlib/test_abc.py Outdated Show resolved Hide resolved
@bedevere-bot
Copy link

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
Member Author

I have made the requested changes; please review again.

@bedevere-bot
Copy link

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
Member

Thanks!

@nanjekyejoannah
Copy link
Member Author

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

@nanjekyejoannah nanjekyejoannah deleted the issue30202 branch June 21, 2019 20:16
@brettcannon
Copy link
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.

None yet

5 participants