Skip to content

Commit 5134427

Browse files
committed
Skip pgf pdflatex text if cm-super is not installed
Fixes #7160
1 parent d21b9dc commit 5134427

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/matplotlib/tests/test_backend_pgf.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,12 @@ def test_xelatex():
9292

9393
# test compiling a figure to pdf with pdflatex
9494
@needs_pgf_pdflatex
95+
@pytest.mark.skipif(not _has_tex_package('type1ec'), reason='needs type1ec.sty')
9596
@pytest.mark.skipif(not _has_tex_package('ucs'), reason='needs ucs.sty')
9697
@pytest.mark.backend('pgf')
9798
@image_comparison(['pgf_pdflatex.pdf'], style='default',
9899
tol=11.71 if _old_gs_version else 0)
99100
def test_pdflatex():
100-
if os.environ.get('APPVEYOR'):
101-
pytest.xfail("pdflatex test does not work on appveyor due to missing "
102-
"LaTeX fonts")
103-
104101
rc_pdflatex = {'font.family': 'serif',
105102
'pgf.rcfonts': False,
106103
'pgf.texsystem': 'pdflatex',

0 commit comments

Comments
 (0)