Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 486ce40

Browse filesBrowse 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
Copy full SHA for 486ce40

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎lib/matplotlib/tests/test_backends_interactive.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_backends_interactive.py
+2Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.