Skip to content

Commit

Permalink
Disable ipython subprocess tests on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthomas23 committed Apr 29, 2024
1 parent fe7d7b7 commit edceb29
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/matplotlib/testing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@ def ipython_in_subprocess(
):
import pytest
IPython = pytest.importorskip("IPython")

if sys.platform == "win32":
pytest.skip("Cannot change backend running IPython in subprocess on Windows")

if (IPython.version_info[:3] == (8, 24, 0) and
requested_backend_or_gui_framework == "osx"):
pytest.skip("Bug using macosx backend in IPython 8.24.0 fixed in 8.24.1")
Expand Down

0 comments on commit edceb29

Please sign in to comment.