Skip to content

Commit 8c8caea

Browse files
authored
Merge pull request #17210 from anntzer/svgconv
Fix missing attribute in _SVGConverter.
2 parents 434ab34 + f42402b commit 8c8caea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/testing/compare.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,9 @@ def __call__(self, orig, dest):
204204
# Inkscape's output is not localized but gtk's is, so the output
205205
# stream probably has a mixed encoding. Using the filesystem
206206
# encoding should at least get the filenames right...
207-
self._stderr.seek(0)
207+
self._proc.stderr.seek(0)
208208
raise ImageComparisonFailure(
209-
self._stderr.read().decode(
209+
self._proc.stderr.read().decode(
210210
sys.getfilesystemencoding(), "replace")) from err
211211

212212

0 commit comments

Comments
 (0)