Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7ff6ded

Browse filesBrowse files
author
Philipp Arras
committed
Skip test if LaTeX is not available
1 parent cd93057 commit 7ff6ded
Copy full SHA for 7ff6ded

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎lib/matplotlib/tests/test_backend_pgf.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_backend_pgf.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,8 @@ def test_unknown_font(caplog):
346346
@pytest.mark.parametrize("texsystem", ("pdflatex", "xelatex", "lualatex"))
347347
@pytest.mark.backend("pgf")
348348
def test_minus_signs_with_tex(fig_test, fig_ref, texsystem):
349+
if not check_for(texsystem):
350+
pytest.skip(texsystem + ' + pgf is required')
349351
mpl.rcParams["pgf.texsystem"] = texsystem
350352
fig_test.text(.5, .5, "$-1$")
351353
fig_ref.text(.5, .5, "$\N{MINUS SIGN}1$")

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.