Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 02746fa + 51cf9c6 commit d51638eCopy full SHA for d51638e
1 file changed
lib/matplotlib/tests/test_backend_pgf.py
@@ -44,6 +44,9 @@ def check_for(texsystem):
44
reason='pdflatex + pgf is required')
45
needs_lualatex = pytest.mark.skipif(not check_for('lualatex'),
46
reason='lualatex + pgf is required')
47
+needs_ghostscript = pytest.mark.skipif(
48
+ "eps" not in mpl.testing.compare.converter,
49
+ reason="This test needs a ghostscript installation")
50
51
52
def _has_tex_package(package):
@@ -315,6 +318,7 @@ def test_bbox_inches_tight(tmpdir):
315
318
316
319
317
320
@needs_xelatex
321
+@needs_ghostscript
322
def test_png():
323
# Just a smoketest.
324
fig, ax = plt.subplots()
0 commit comments