Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c159dd7

Browse filesBrowse 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 b2bebbb commit c159dd7
Copy full SHA for c159dd7

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/testing/compare.py

Copy file name to clipboardExpand all lines: lib/matplotlib/testing/compare.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def __call__(self, orig, dest):
154154
env = {
155155
**os.environ,
156156
# Do not load any user options.
157-
"INKSCAPE_PROFILE_DIR": os.devnull,
157+
"INKSCAPE_PROFILE_DIR": self._tmpdir.name,
158158
}
159159
# Old versions of Inkscape (e.g. 0.48.3.1) seem to sometimes
160160
# deadlock when stderr is redirected to a pipe, so we redirect it

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.