We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba2e831 commit ae1305fCopy full SHA for ae1305f
xarray/tests/test_plot.py
@@ -3,6 +3,8 @@
3
import contextlib
4
import inspect
5
import math
6
+import os
7
+import sys
8
from collections.abc import Callable, Generator, Hashable
9
from copy import copy
10
from datetime import date, timedelta
@@ -12,6 +14,14 @@
12
14
import pandas as pd
13
15
import pytest
16
17
+# Skip this entire module on Windows when using pytest-xdist
18
+# due to worker crashes with matplotlib FacetGrid operations
19
+pytestmark = pytest.mark.xfail(
20
+ sys.platform == "win32" and "PYTEST_XDIST_WORKER" in os.environ,
21
+ reason="matplotlib plotting tests cause xdist worker crashes on Windows",
22
+ strict=False, # Don't fail if tests pass
23
+)
24
+
25
import xarray as xr
26
import xarray.plot as xplt
27
from xarray import DataArray, Dataset
0 commit comments