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

Skip to content

Commit 062c517

Browse files
authored
Merge pull request #15556 from anntzer/gs950
TST: Fix test suite compat with ghostscript 9.50.
2 parents b7e413e + 276acc2 commit 062c517

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)