8000 MNT: put inkscape history/config files in temp working directory · matplotlib/matplotlib@c4cbee0 · GitHub
[go: up one dir, main page]

Skip to content

Commit c4cbee0

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 a9dce37 commit c4cbee0

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
@@ -155,7 +155,7 @@ def __call__(self, orig, dest):
155155
env = {
156156
**os.environ,
157157
# Do not load any user options.
158-
"INKSCAPE_PROFILE_DIR": os.devnull,
158+
"INKSCAPE_PROFILE_DIR": self._tmpdir.name,
159159
}
160160
# Old versions of Inkscape (e.g. 0.48.3.1) seem to sometimes
161161
# deadlock when stderr is redirected to a pipe, so we redirect it

0 commit comments

Comments
 (0)
0