Skip to content

Commit 199929a

Browse files
committed
skip qt5 matplotlib test on windows
seems very flaky
1 parent 04b24ff commit 199929a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/test_matplotlib_eventloops.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ def execute(
4545
def test_matplotlib_gui(kc, gui):
4646
"""Make sure matplotlib activates and its eventloop runs while the kernel is also responsive"""
4747
pytest.importorskip("matplotlib", reason="this test requires matplotlib")
48+
if (
49+
gui == "qt"
50+
and os.getenv("QT") == "qt5"
51+
and os.getenv("CI")
52+
and sys.platform.startswith("win")
53+
):
54+
pytest.skip("flaky on Windows CI")
4855
stdout, stderr = execute(kc, f"%matplotlib {gui}")
4956
assert not stderr
5057
# debug: show output from invoking the matplotlib magic

0 commit comments

Comments
 (0)