Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit674e42a

Browse files
committed
TST: mark test_constrainedlayout.py::test_colorbar_location as flaky
1 parent9e8be5b commit674e42a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎lib/matplotlib/tests/test_constrainedlayout.py

Lines 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
deftest_colorbar_location():

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp