Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions xarray/tests/test_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import contextlib
import inspect
import math
import os
import sys
from collections.abc import Callable, Generator, Hashable
from copy import copy
from datetime import date, timedelta
Expand All @@ -12,6 +14,14 @@
import pandas as pd
import pytest

# Skip this entire module on Windows when using pytest-xdist
# due to worker crashes with matplotlib FacetGrid operations
pytestmark = pytest.mark.xfail(
sys.platform == "win32" and "PYTEST_XDIST_WORKER" in os.environ,
reason="matplotlib plotting tests cause xdist worker crashes on Windows",
strict=False, # Don't fail if tests pass
)

import xarray as xr
import xarray.plot as xplt
from xarray import DataArray, Dataset
Expand Down
Loading