Thanks to visit codestin.com Credit goes to github.com
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 4874e4e commit a130ba7Copy full SHA for a130ba7
1 file changed
lib/matplotlib/tests/test_dviread.py
@@ -19,7 +19,7 @@ def test_PsfontsMap(monkeypatch):
19
fontmap = dr.PsfontsMap(filename)
20
# Check all properties of a few fonts
21
for n in [1, 2, 3, 4, 5]:
22
- key = b'TeXfont%d' % n
+ key = ('TeXfont%d' % n).encode('ascii')
23
entry = fontmap[key]
24
assert entry.texname == key
25
assert entry.psname == b'PSfont%d' % n
0 commit comments