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

Skip to content

Commit edceb29

Browse files
committed
Disable ipython subprocess tests on Windows
1 parent fe7d7b7 commit edceb29

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/matplotlib/testing/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,10 @@ def ipython_in_subprocess(
186186
):
187187
import pytest
188188
IPython = pytest.importorskip("IPython")
189+
190+
if sys.platform == "win32":
191+
pytest.skip("Cannot change backend running IPython in subprocess on Windows")
192+
189193
if (IPython.version_info[:3] == (8, 24, 0) and
190194
requested_backend_or_gui_framework == "osx"):
191195
pytest.skip("Bug using macosx backend in IPython 8.24.0 fixed in 8.24.1")

0 commit comments

Comments
 (0)