Skip to content

Commit 9e5fe13

Browse files
committed
MNT: put inkscape history/config files in temp working directory
Inkscape will fail to create directories in /dev/null, be very unhappy about this, and fail to convent all of the svg.
1 parent 6f16cb2 commit 9e5fe13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/testing/compare.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def __call__(self, orig, dest):
161161
# just be reported as a regular exception below).
162162
"DISPLAY": "",
163163
# Do not load any user options.
164-
"INKSCAPE_PROFILE_DIR": os.devnull,
164+
"INKSCAPE_PROFILE_DIR": self._tmpdir.name,
165165
}
166166
# Old versions of Inkscape (e.g. 0.48.3.1) seem to sometimes
167167
# deadlock when stderr is redirected to a pipe, so we redirect it

0 commit comments

Comments
 (0)