We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9eeb44 commit b940775Copy full SHA for b940775
lib/matplotlib/testing/compare.py
@@ -102,10 +102,10 @@ def get_file_hash(path, block_size=2 ** 20):
102
103
if path.endswith('.pdf'):
104
from matplotlib import checkdep_ghostscript
105
- md5.update(checkdep_ghostscript()[1])
+ md5.update(checkdep_ghostscript()[1].encode('utf-8'))
106
elif path.endswith('.svg'):
107
from matplotlib import checkdep_inkscape
108
- md5.update(checkdep_inkscape())
+ md5.update(checkdep_inkscape().encode('utf-8'))
109
110
return md5.hexdigest()
111
0 commit comments