Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c6dc51e

Browse files
committed
Remove mention of deleted stackrel in some tests.
1 parent 80bac99 commit c6dc51e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/matplotlib/tests/test_mathtext.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,15 +172,14 @@ def baseline_images(request, fontset, index):
172172
return ['%s_%s_%02d' % (request.param, fontset, index)]
173173

174174

175-
# recwarn suppresses warnings regarding the deprecation of \stackrel.
176175
@pytest.mark.parametrize('index, test', enumerate(math_tests),
177176
ids=[str(index) for index in range(len(math_tests))])
178177
@pytest.mark.parametrize('fontset',
179178
['cm', 'stix', 'stixsans', 'dejavusans',
180179
'dejavuserif'])
181180
@pytest.mark.parametrize('baseline_images', ['mathtext'], indirect=True)
182181
@image_comparison(baseline_images=None)
183-
def test_mathtext_rendering(baseline_images, fontset, index, test, recwarn):
182+
def test_mathtext_rendering(baseline_images, fontset, index, test):
184183
matplotlib.rcParams['mathtext.fontset'] = fontset
185184
fig = plt.figure(figsize=(5.25, 0.75))
186185
fig.text(0.5, 0.5, test,

0 commit comments

Comments
 (0)