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

Moved tests that require libtiff #6919

Merged
merged 4 commits into from
Mar 12, 2023
Merged

Moved tests that require libtiff #6919

merged 4 commits into from
Mar 12, 2023

Conversation

radarhere
Copy link
Member

Testing Alpine in the docker-images repository without libtiff, I found that TestFileTiff::test_get_child_images failed with OSError: decoder libtiff not available.

Moving that test to test_file_libtiff.py so that it would only be run if libtiff is available, I ran the test suite again, and TestFileTiff::test_wrong_bits_per_sample failed with the same error.

This PR moves both of those tests, so that they are skipped unless libtiff is available.

Tests/test_file_libtiff.py Outdated Show resolved Hide resolved
@hugovk hugovk merged commit 28c89b1 into python-pillow:main Mar 12, 2023
@radarhere radarhere deleted the tiff branch March 12, 2023 12:42
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.

None yet

2 participants