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 45e5ef5 commit 9ff412eCopy full SHA for 9ff412e
1 file changed
lib/matplotlib/tests/test_dviread.py
@@ -65,8 +65,8 @@ def test_dviread():
65
with open(os.path.join(dir, 'test.json')) as f:
66
correct = json.load(f)
67
with dr.Dvi(os.path.join(dir, 'test.dvi'), None) as dvi:
68
- data = [{'text': [[t.x, t.y, unichr(t.glyph),
69
- unicode(t.font.texname), round(t.font.size, 2)]
+ data = [{'text': [[t.x, t.y, six.unichr(t.glyph),
+ six.text_type(t.font.texname), round(t.font.size, 2)]
70
for t in page.text],
71
'boxes': [[b.x, b.y, b.height, b.width] for b in page.boxes]}
72
for page in dvi]
0 commit comments