From 309b8615b62aec3fcc7bb0b226e03c522ebe9085 Mon Sep 17 00:00:00 2001 From: Kevin Sheppard Date: Sun, 18 Oct 2026 18:19:49 +0100 Subject: [PATCH] TST: Skip test that requires matplotlib --- arch/tests/test_lower_case_options.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/tests/test_lower_case_options.py b/arch/tests/test_lower_case_options.py index d5c84ad7a6..b5ffa5b574 100644 --- a/arch/tests/test_lower_case_options.py +++ b/arch/tests/test_lower_case_options.py @@ -8,6 +8,8 @@ from __future__ import annotations +from arch.compat.matplotlib import HAVE_MATPLOTLIB + import importlib import inspect import re @@ -212,6 +214,7 @@ def bootstrap_ci(**kw): } +@pytest.mark.skipif(not HAVE_MATPLOTLIB, reason="Some calls depend on matplotlib") def test_listed_options_are_lower_case(data): # The values in the message of an invalid option are all lower case calls = option_calls(data)