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

Do not import PIL.Image #6635

Merged
merged 1 commit into from
Oct 3, 2022
Merged

Conversation

radarhere
Copy link
Member

@radarhere radarhere commented Oct 3, 2022

Since we're considering deprecating import PIL.Image, this PR removes a use of that from the test suite.

@hugovk
Copy link
Member

hugovk commented Oct 3, 2022

Good idea.

At the very least from PIL import Image is best practice and import PIL and import PIL.Image are discouraged.

@hugovk hugovk merged commit 285f9cb into python-pillow:main Oct 3, 2022
@radarhere radarhere deleted the pilimage_import branch October 3, 2022 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants