Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Skip svg tex test if tex is not installed#5770

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
tacaswell merged 3 commits intomatplotlib:v2.xfromjenshnielsen:skiptex
Dec 31, 2015
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletionlib/matplotlib/tests/test_backend_svg.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -9,7 +9,12 @@

import matplotlib.pyplot as plt
from matplotlib.testing.decorators import cleanup
from matplotlib.testing.decorators import image_comparison
from matplotlib.testing.decorators import image_comparison, knownfailureif
import matplotlib

needs_tex = knownfailureif(
not matplotlib.checkdep_tex(),
"This test needs a TeX installation")


@cleanup
Expand DownExpand Up@@ -173,6 +178,7 @@ def test_determinism_notex():


@cleanup
@needs_tex
def test_determinism_tex():
# unique filename to allow for parallel testing
_test_determinism('determinism_tex.svg', usetex=True)
Expand Down
2 changes: 1 addition & 1 deletionlib/matplotlib/textpath.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -345,7 +345,7 @@ def get_glyphs_tex(self, prop, s, glyph_map=None,
1094995778)]:
try:
font.select_charmap(charmap_code)
except ValueError:
except(ValueError, RuntimeError):
pass
else:
break
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp