Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

matplotlib.tests.test_mathtext.test_mathtext_{cm,stix,stixsans}_{37,53}.test are failing #2667

Closed
jlec opened this issue Dec 10, 2013 · 7 comments

Comments

@jlec
Copy link

jlec commented Dec 10, 2013

FAIL: matplotlib.tests.test_mathtext.test_mathtext_cm_53.test

Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(_self.arg)
File "/var/tmp/portage/dev-python/matplotlib-9999/work/matplotlib-9999-python2_7/build/test/lib/matplotlib-1.4.x-py2.7-linux-x86_64.egg/matplotlib/testing/decorators.py", line 45, in failer
result = f(_args, **kwargs)
File "/var/tmp/portage/dev-python/matplotlib-9999/work/matplotlib-9999-python2_7/build/test/lib/matplotlib-1.4.x-py2.7-linux-x86_64.egg/matplotlib/testing/decorators.py", line 189, in do_test
'(RMS %(rms).3f)'%err)
ImageComparisonFailure: images not close: /var/tmp/portage/dev-python/matplotlib-9999/temp/python2.7/result_images/test_mathtext/mathtext_cm_53_pdf.png vs. /var/tmp/portage/dev-python/matplotlib-9999/temp/python2.7/result_images/test_mathtext/mathtext_cm_53-expected_pdf.png (RMS 34.378)

@jlec
Copy link
Author

jlec commented Dec 10, 2013

This happens with 1.3 > HEAD
Which more information do you need?

@jlec
Copy link
Author

jlec commented Dec 10, 2013

Result:

mathtext_stixsans_53_pdf

@jlec
Copy link
Author

jlec commented Dec 10, 2013

original:
mathtext_stixsans_53-expected_pdf

@mdboom
Copy link
Member

mdboom commented Dec 10, 2013

This looks like the perennial problem with different versions of freetype (we unfortunately run into this all the time). The text is rendered slightly differently on your machine than in the original images, and I suspect that is enough to throw the test off. So it's benign, but we should probably increase the tolerance on these tests.

@jlec
Copy link
Author

jlec commented Dec 10, 2013

I am running freetype-2.5.0.1.

@mdboom
Copy link
Member

mdboom commented Dec 10, 2013

Yeah -- I've got 2.4.11 (and these images may well have been generated with an even earlier version).

@efiring
Copy link
Member

efiring commented May 22, 2016

This looks like something that has been addressed. Closing.

@efiring efiring closed this as completed May 22, 2016
@QuLogic QuLogic modified the milestones: unassigned, 2.1 (next point release) May 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants