Skip to content

Conversation

@nulano
Copy link
Contributor

@nulano nulano commented Jan 19, 2020

Building and running Pillow tests in a Windows Server Docker instance fails for two tests test_imagecms.test_display_profile and test_imagegrab.test_grab because it is run headless.

While I think the test_grab failure is reasonable, the other test fails with a TypeError raised from ImageCms.get_display_profile, which is confusing at best. This is caused by ImageCms.core.get_display_profile_win32 returning None, which is obviously not accepted by the ImageCmsProfile constructor. This PR proposes returning None instead (in accordance with the functions docs).

image

@python-pillow python-pillow deleted a comment from codecov bot Feb 16, 2020
@hugovk hugovk merged commit 93483a7 into python-pillow:master Mar 25, 2020
@hugovk
Copy link
Member

hugovk commented Mar 25, 2020

Thanks!

@nulano nulano deleted the cms branch March 31, 2020 21:07
@hugovk hugovk removed the Needs Tests label Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants