8000 Add more missing tests · matplotlib/matplotlib@be5de13 · GitHub
[go: up one dir, main page]

Skip to content

Commit be5de13

Browse files
committed
Add more missing tests
1 parent 9ff412e commit be5de13

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

lib/matplotlib/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1448,6 +1448,7 @@ def tk_window_focus():
14481448
'matplotlib.tests.test_contour',
14491449
'matplotlib.tests.test_dates',
14501450
'matplotlib.tests.test_delaunay',
1451+
'matplotlib.tests.test_dviread',
14511452
'matplotlib.tests.test_figure',
14521453
'matplotlib.tests.test_font_manager',
14531454
'matplotlib.tests.test_gridspec',
@@ -1477,6 +1478,7 @@ def tk_window_focus():
14771478
'matplotlib.tests.test_tightlayout',
14781479
'matplotlib.tests.test_transforms',
14791480
'matplotlib.tests.test_triangulation',
1481+
'matplotlib.tests.test_type1font',
14801482
'matplotlib.tests.test_units',
14811483
'matplotlib.tests.test_widgets',
14821484
'matplotlib.tests.test_cycles',

lib/matplotlib/tests/test_dviread.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,10 @@ def test_dviread():
6565
with open(os.path.join(dir, 'test.json')) as f:
6666
correct = json.load(f)
6767
with dr.Dvi(os.path.join(dir, 'test.dvi'), None) as dvi:
68-
data = [{'text': [[t.x, t.y, six.unichr(t.glyph),
69-
six.text_type(t.font.texname), round(t.font.size, 2)]
68+
data = [{'text': [[t.x, t.y,
69+
six.unichr(t.glyph),
70+
six.text_type(t.font.texname),
71+
round(t.font.size, 2)]
7072
for t in page.text],
7173
'boxes': [[b.x, b.y, b.height, b.width] for b in page.boxes]}
7274
for page in dvi]

0 commit comments

Comments
 (0)
BB6
0