From 486ce4023443b0387524bede25f1a4d0c42e0fd9 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Sat, 7 Jul 2018 11:36:19 +0200 Subject: [PATCH] Skip wx interactive tests on OSX. It appears that they never worked and were just spuriously skipped before on CI. Make the skip explicit and unbreak the build. --- lib/matplotlib/tests/test_backends_interactive.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/matplotlib/tests/test_backends_interactive.py b/lib/matplotlib/tests/test_backends_interactive.py index 7e6922ebcd43..29ee4db3fc0b 100644 --- a/lib/matplotlib/tests/test_backends_interactive.py +++ b/lib/matplotlib/tests/test_backends_interactive.py @@ -29,6 +29,8 @@ def _get_testable_interactive_backends(): reason = "No $DISPLAY" elif any(importlib.util.find_spec(dep) is None for dep in deps): reason = "Missing dependency" + elif "wx" in deps and sys.platform == "darwin": + reason = "wx backends known not to work on OSX" backends.append(pytest.mark.skip(reason=reason)(backend) if reason else backend) return backends