bayespy: ImageComparisonFailure with matplotilb 2.0
I am using the latest source of bayespy
available on PyPI. The tests fail with the following error on Debian Stretch:
======================================================================
FAIL: bayespy.tests.test_plot.test_gaussian_mixture_plot.test(1, '/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/result_images/test_plot/gaussian_mixture.png', '/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/result_images/test_plot/gaussian_mixture-expected.png')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File "/usr/lib/python3/dist-packages/matplotlib/testing/decorators.py", line 58, in failer
result = f(*args, **kwargs)
File "/usr/lib/python3/dist-packages/matplotlib/testing/decorators.py", line 259, in do_test
'(RMS %(rms).3f)'%err)
matplotlib.testing.exceptions.ImageComparisonFailure: images not close: /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/result_images/test_plot/gaussian_mixture.png vs. /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/result_images/test_plot/gaussian_mixture-expected.png (RMS 1.400)
----------------------------------------------------------------------
About this issue
- Original URL
- State: open
- Created 7 years ago
- Comments: 17 (17 by maintainers)
For now, I am using
node-exclude
to explicitly disable the offending tests without patching the code base. It’d be nice however if the full test suite were working again at some point.