Skip to content

Conversation

@Yay295
Copy link
Contributor

@Yay295 Yay295 commented Mar 27, 2024

This entire file is skipped if Qt isn't available. This means teardown_module() is also skipped. But opening the images isn't skipped because they're not in a function. By moving the image loading to setup_module() it will also be skipped when Qt isn't available.

@radarhere radarhere added Testing Qt Qt for Python, PyQt, PySide labels Mar 27, 2024
@hugovk hugovk merged commit e3aeaa6 into python-pillow:main Mar 28, 2024
@hugovk
Copy link
Member

hugovk commented Mar 28, 2024

Thanks!

@Yay295 Yay295 deleted the fix_unclosed_images branch March 28, 2024 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Qt Qt for Python, PyQt, PySide Testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants