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

Skip to content

Commit 3a6dabb

Browse files
tacaswellmeeseeksmachine
authored andcommitted
Backport PR #15556: Fix test suite compat with ghostscript 9.50.
1 parent b126d3b commit 3a6dabb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/testing/compare.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def __call__(self, orig, dest):
175175
if not self._proc:
176176
self._proc = subprocess.Popen(
177177
[mpl._get_executable_info("gs").executable,
178-
"-dNOPAUSE", "-sDEVICE=png16m"],
178+
"-dNOSAFER", "-dNOPAUSE", "-sDEVICE=png16m"],
179179
# As far as I can see, ghostscript never outputs to stderr.
180180
stdin=subprocess.PIPE, stdout=subprocess.PIPE)
181181
try:

0 commit comments

Comments
 (0)