Skip to content

Lower test tolerance #5307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Dec 10, 2015
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Fix Python3 on test_dviread
  • Loading branch information
mdboom committed Dec 10, 2015
commit 9ff412e735e890935cdfbf41448e83ccbbee6d19
4 changes: 2 additions & 2 deletions lib/matplotlib/tests/test_dviread.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ def test_dviread():
with open(os.path.join(dir, 'test.json')) as f:
correct = json.load(f)
with dr.Dvi(os.path.join(dir, 'test.dvi'), None) as dvi:
data = [{'text': [[t.x, t.y, unichr(t.glyph),
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)]
for t in page.text],
'boxes': [[b.x, b.y, b.height, b.width] for b in page.boxes]}
for page in dvi]
Expand Down