10000 Skip wx interactive tests on OSX. · matplotlib/matplotlib@486ce40 · GitHub
[go: up one dir, main page]

Skip to content

Commit 486ce40

Browse files
committed
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.
1 parent 258ad31 commit 486ce40

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/tests/test_backends_interactive.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ def _get_testable_interactive_backends():
2929
reason = "No $DISPLAY"
3030
elif any(importlib.util.find_spec(dep) is None for dep in deps):
3131
reason = "Missing dependency"
32+
elif "wx" in deps and sys.platform == "darwin":
33+
reason = "wx backends known not to work on OSX"
3234
backends.append(pytest.mark.skip(reason=reason)(backend) if reason
3335
else backend)
3436
return backends

0 commit comments

Comments
 (0)
0