8000 Merge pull request #17210 from anntzer/svgconv · QuLogic/matplotlib@ca714c1 · GitHub
[go: up one dir, main page]

Skip to content

Commit ca714c1

Browse files
committed
Merge pull request matplotlib#17210 from anntzer/svgconv
Fix missing attribute in _SVGConverter.
1 parent 31dd47c commit ca714c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/testing/compare.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,9 @@ def __call__(self, orig, dest):
211211
# Inkscape's output is not localized but gtk's is, so the output
212212
# stream probably has a mixed encoding. Using the filesystem
213213
# encoding should at least get the filenames right...
214-
self._stderr.seek(0)
214+
self._proc.stderr.seek(0)
215215
raise ImageComparisonFailure(
216-
self._stderr.read().decode(
216+
self._proc.stderr.read().decode(
217217
sys.getfilesystemencoding(), "replace"))
218218

219219

0 commit comments

Comments
 (0)
0