Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/matplotlib/testing/compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,9 @@ def __call__(self, orig, dest):
# Inkscape's output is not localized but gtk's is, so the output
# stream probably has a mixed encoding. Using the filesystem
# encoding should at least get the filenames right...
self._stderr.seek(0)
self._proc.stderr.seek(0)
raise ImageComparisonFailure(
self._stderr.read().decode(
self._proc.stderr.read().decode(
sys.getfilesystemencoding(), "replace")) from err


Expand Down