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

Skip to content

Commit cd2231f

Browse files
tacaswellMeeseeksDev[bot]
authored and
MeeseeksDev[bot]
committed
Backport PR #15556: Fix test suite compat with ghostscript 9.50.
1 parent 73bf0ea commit cd2231f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/testing/compare.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def __call__(self, orig, dest):
130130
if not self._proc:
131131
self._proc = subprocess.Popen(
132132
[mpl._get_executable_info("gs").executable,
133-
"-dNOPAUSE", "-sDEVICE=png16m"],
133+
"-dNOSAFER", "-dNOPAUSE", "-sDEVICE=png16m"],
134134
# As far as I can see, ghostscript never outputs to stderr.
135135
stdin=subprocess.PIPE, stdout=subprocess.PIPE)
136136
try:

0 commit comments

Comments
 (0)