Closed
Description
Recently I've been looking at errors in the matplotlib test suite when building on Fedora's ppc64 arch, which is big-endian. I've sent a few PRs so far, but there are still some remaining issues, so I'm filing tickets for them.
This ticket is for a failure of the test_png.test_pngsuite.test
test. In my ppc64 build, this is the image produced by the test:
Here's the expected image:
The fifth, seventh, thirteenth and fifteenth images clearly differ. Haven't yet dug into why this is.
There is another png-related test that fails, the two may share a common cause:
======================================================================
FAIL: matplotlib.tests.test_png.test_imread_png_uint16
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/builddir/build/BUILDROOT/python-matplotlib-2.0.0-0.7.rc2.fc26.ppc64/usr/lib64/python2.7/site-packages/matplotlib/tests/test_png.py", line 49, in test_imread_png_uint16
assert np.sum(img.flatten()) == 134184960
AssertionError
Metadata
Metadata
Assignees
Labels
No labels