Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit be5de13

Browse filesBrowse files
committed
Add more missing tests
1 parent 9ff412e commit be5de13
Copy full SHA for be5de13

File tree

Expand file treeCollapse file tree

2 files changed

+6
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+6
-2
lines changed

‎lib/matplotlib/__init__.py

Copy file name to clipboardExpand all lines: lib/matplotlib/__init__.py
+2Lines 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

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_dviread.py
+4-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.