Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0da2fff

Browse files
committed
Actually check of the requested tex system
1 parent ca56534 commit 0da2fff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_backend_pgf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def check_for(texsystem):
3131
\\@@end
3232
"""
3333
try:
34-
latex = subprocess.Popen(["xelatex", "-halt-on-error"],
34+
latex = subprocess.Popen([texsystem, "-halt-on-error"],
3535
stdin=subprocess.PIPE,
3636
stdout=subprocess.PIPE)
3737
stdout, stderr = latex.communicate(header.encode("utf8"))

0 commit comments

Comments
 (0)