-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
Big-endianBig-endian processorsBig-endian processorsPlatformA catchall for platform-relatedA catchall for platform-relatedTesting
Description
On my PowerMac G5 (Gentoo Linux, ppc64, big endian) test_16bit_monchrome_j2k_like_tiff test fails with Pillow 5.2.0 and git-master.
What did you do?
make release-test
What versions of Pillow and Python are you using?
Pillow: git-master
Python: 3.6.5
Tests/test_file_jpeg2k.py::TestFileJpeg2k::test_16bit_j2k_roundtrips PASSED
Tests/test_file_jpeg2k.py::TestFileJpeg2k::test_16bit_jp2_roundtrips PASSED
Tests/test_file_jpeg2k.py::TestFileJpeg2k::test_16bit_monchrome_j2k_like_tiff FAILED
==================================================================================================== FAILURES =====================================================================================================
________________________________________________________________________________ TestFileJpeg2k.test_16bit_monchrome_j2k_like_tiff ________________________________________________________________________________
self = <test_file_jpeg2k.TestFileJpeg2k testMethod=test_16bit_monchrome_j2k_like_tiff>
def test_16bit_monchrome_j2k_like_tiff(self):
tiff_16bit = Image.open('Tests/images/16bit.cropped.tif')
j2k = Image.open('Tests/images/16bit.cropped.j2k')
> self.assert_image_similar(j2k, tiff_16bit, 1e-3)
Tests/test_file_jpeg2k.py:159:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Tests/helper.py:154: in assert_image_similar
raise e
Tests/helper.py:146: in assert_image_similar
ave_diff, epsilon))
E AssertionError: 0.001 not greater than or equal to 254.937744140625 : average pixel value difference 254.9377 > epsilon 0.0010
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================================================ 1 failed, 269 passed, 5 skipped in 29.63 seconds =================================================================================
make: *** [Makefile:81: release-test] Fehler 2
Metadata
Metadata
Assignees
Labels
Big-endianBig-endian processorsBig-endian processorsPlatformA catchall for platform-relatedA catchall for platform-relatedTesting