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

Skip to content

Commit 5e10b8e

Browse files
committed
TST: Mark test_invisible_Line_rendering as flaky.
Since it depends on "speed", it may sometimes fail, so try again a couple of times.
1 parent 4dcbdfa commit 5e10b8e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/matplotlib/tests/test_lines.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
from matplotlib.testing.decorators import image_comparison
1717

1818

19+
# Runtimes on a loaded system are inherently flaky. Not so much that a rerun
20+
# won't help, hopefully.
21+
@pytest.mark.flaky(reruns=3)
1922
def test_invisible_Line_rendering():
2023
"""
2124
Github issue #1256 identified a bug in Line.draw method

0 commit comments

Comments
 (0)