-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
enable previously leftout test_usetex #6918
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
enable previously leftout test_usetex #6918
Conversation
Have not had the time to investigate why the png test fails. It passes with that image for me locally. |
9030879
to
50c0b74
Compare
This still need a skip if not latex decorator |
Cannot use the decorator for similar reasons as matplotlib#6263
I think this is ready to land now |
@jenshnielsen please try to rearrange extension order. If it will pass with |
@Kojoley Good point, I will give it a try |
check_output(cmd) | ||
except: | ||
from nose import SkipTest | ||
raise SkipTest('missing command: %s' % cmd[0]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not to use skip_if_command_unavailable
decorator?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please read the commit message
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please read the commit message
The actual problem commit is gone there and only comment left. :(
At least you can simplify this with matplotlib.checkdep_tex()
call.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have updated this to use checkdep_usetex which is what we want
I think this is ready to merge, the change in coverage seems to be a fluke. The tolerance does not seem to depend on the order it is passing and failing on different backends because of tex version differences. I can reproduce the image that matches travis on a ubuntu 12.04 vm (same os and texlive version as travis) but get different results with a modern texlive install. |
The tests where fixed in matplotlib#6918 but not enabled for pytest
Follow up to #6917 with the tests only on master