[proxy] web.archive.org← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light
/ cpython Public
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-30158: Fix deprecation warnings in test_importlib introduced by … #1285

Merged

Conversation

Copy link
Member

serhiy-storchaka commented Apr 25, 2017

bpo-29576.

serhiy-storchaka added type-bug An unexpected behavior, bug, or error tests Tests in the Lib/test dir labels Apr 25, 2017
Copy link

mention-bot commented Apr 25, 2017

@serhiy-storchaka, thanks for your PR! By analyzing the history of the files in this pull request, we identified @brettcannon, @ericsnowcurrently and @Carreau to be potential reviewers.

serhiy-storchaka changed the title bpo-30158: Fix deprecation warnings in test_importlib introduced by b… bpo-30158: Fix deprecation warnings in test_importlib introduced by … Apr 25, 2017
vstinner requested a review from brettcannon Apr 25, 2017
Copy link
Member

vstinner commented Apr 25, 2017

While ignoring the warning on find_module() and find_loader() tests make sense, I'm not sure about tests using find_module/find_loader. Should these tests be updated to use find_spec()?

Copy link
Member Author

serhiy-storchaka commented Apr 26, 2017

I don't know.

Copy link
Member

brettcannon commented Apr 28, 2017

It looks like the whole module is a bit lacking on the find_spec() tests and could stand an upgrade. I opened https://bugs.python.org/issue30202 to track that.

serhiy-storchaka merged commit 3cc8259 into python:master Apr 29, 2017
serhiy-storchaka deleted the test_importlib-warnings branch Apr 29, 2017
Copy link
Member

vstinner commented Apr 29, 2017

"I opened https://bugs.python.org/issue30202 to track that."

Thanks Brett for that ;-)

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 type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants