8000 Merge pull request #16208 from meeseeksmachine/auto-backport-of-pr-15… · matplotlib/matplotlib@58016b7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 58016b7

Browse files
authored
Merge pull request #16208 from meeseeksmachine/auto-backport-of-pr-15556-on-v3.1.x
Backport PR #15556 on branch v3.1.x (Fix test suite compat with ghostscript 9.50.)
2 parents dc2da1d + 3a6dabb commit 58016b7

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
@@ -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)
0