From 1111a5b5cd9d34faf3ebbc819b5452613321a2d5 Mon Sep 17 00:00:00 2001 From: wpbonelli Date: Fri, 24 Oct 2025 07:16:35 -0400 Subject: [PATCH] avoid tcl ci errors on windows --- test/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/conftest.py b/test/conftest.py index b302391e..b3953196 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -15,7 +15,7 @@ @pytest.fixture(scope="session", autouse=True) def patch_macos_ci_matplotlib(): # use noninteractive matplotlib backend if in Mac OS CI to avoid pytest-xdist node failure - if is_in_ci() and system().lower() == "darwin": + if is_in_ci() and system().lower() in ["darwin", "windows"]: import matplotlib matplotlib.use("agg")