From 89abdaa6c7695379373d2ae910d61d3771d5f9cd Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Mon, 23 Mar 2020 10:25:47 -0400 Subject: [PATCH] Backport PR #16870: Unbreak CI by xfailing wxAgg test on macOS Merge pull request #16870 from timhoffm/xfail CI: Unbreak CI by xfailing wxAgg test on macOS Conflicts: lib/matplotlib/tests/test_backends_interactive.py - Other improvements to messages when skipping tests from bc155f09cf99334ffebe74c9dd7ce5f8c105a930 near by. Did not implicitly backport other changes. --- lib/matplotlib/tests/test_backends_interactive.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/matplotlib/tests/test_backends_interactive.py b/lib/matplotlib/tests/test_backends_interactive.py index ad23abe3fc19..bc3796a41747 100644 --- a/lib/matplotlib/tests/test_backends_interactive.py +++ b/lib/matplotlib/tests/test_backends_interactive.py @@ -35,6 +35,11 @@ def _get_testable_interactive_backends(): if reason: backend = pytest.param( backend, marks=pytest.mark.skip(reason=reason)) + elif backend == 'wxagg' and sys.platform == 'darwin': + # ignore on OSX because that's currently broken (github #16849) + backend = pytest.param( + backend, + marks=pytest.mark.xfail(reason='github #16849')) backends.append(backend) return backends