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

Skip to content

Commit 4dcbdfa

Browse files
committed
TST: Mark mathtext tests as flaky.
See #7911 for why these tests are flaky and #7107 for why they are not so easy to fix.
1 parent 781e3c2 commit 4dcbdfa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/matplotlib/tests/test_mathtext.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ def baseline_images(request, fontset, index):
167167
return ['%s_%s_%02d' % (request.param, fontset, index)]
168168

169169

170+
# See #7911 for why these tests are flaky and #7107 for why they are not so
171+
# easy to fix.
172+
@pytest.mark.flaky(reruns=3)
170173
@pytest.mark.parametrize('index, test', enumerate(math_tests),
171174
ids=[str(index) for index in range(len(math_tests))])
172175
@pytest.mark.parametrize('fontset',
@@ -181,6 +184,9 @@ def test_mathtext_rendering(baseline_images, fontset, index, test):
181184
horizontalalignment='center', verticalalignment='center')
182185

183186

187+
# See #7911 for why these tests are flaky and #7107 for why they are not so
188+
# easy to fix.
189+
@pytest.mark.flaky(reruns=3)
184190
@pytest.mark.parametrize('index, test', enumerate(font_tests),
185191
ids=[str(index) for index in range(len(font_tests))])
186192
@pytest.mark.parametrize('fontset',

0 commit comments

Comments
 (0)