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 ab3812d

Browse filesBrowse files
authored
Merge pull request #12689 from meeseeksmachine/auto-backport-of-pr-12683-on-v3.0.x
Backport PR #12683 on branch v3.0.x (TST: mark test_constrainedlayout.py::test_colorbar_location as flaky)
2 parents 8eb700d + fe5130b commit ab3812d
Copy full SHA for ab3812d

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed

‎lib/matplotlib/tests/test_constrainedlayout.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_constrainedlayout.py
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,11 @@ def test_constrained_layout23():
380380
fig.suptitle("Suptitle{}".format(i))
381381

382382

383+
# This test occasionally fails the image comparison tests, so we mark as
384+
# flaky. Apparently the constraint solver occasionally doesn't fully
385+
# optimize. Would be nice if this were more deterministic...
386+
@pytest.mark.timeout(30)
387+
@pytest.mark.flaky(reruns=3)
383388
@image_comparison(baseline_images=['test_colorbar_location'],
384389
extensions=['png'], remove_text=True, style='mpl20')
385390
def test_colorbar_location():

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.