8000 Merge pull request #11593 from anntzer/skiposxwx · matplotlib/matplotlib@c5d604b · GitHub
[go: up one dir, main page]

Skip to content

Commit c5d604b

Browse files
authored
Merge pull request #11593 from anntzer/skiposxwx
Skip wx interactive tests on OSX.
2 parents 258ad31 + 486ce40 commit c5d604b

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