Thanks to visit codestin.com
Credit goes to github.com

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

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)