From 335eff891be98a590673d66ba58b3bfa4b0f2845 Mon Sep 17 00:00:00 2001 From: Ruth Comer <10599679+rcomer@users.noreply.github.com> Date: Sat, 20 Jun 2026 15:57:25 +0100 Subject: [PATCH] TST: correct skip_plot marker --- docs/src/whatsnew/latest.rst | 2 ++ lib/iris/tests/graphics/__init__.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/src/whatsnew/latest.rst b/docs/src/whatsnew/latest.rst index 12720cecae..9494dcea59 100644 --- a/docs/src/whatsnew/latest.rst +++ b/docs/src/whatsnew/latest.rst @@ -177,6 +177,8 @@ This document explains the changes made to Iris for this release Note: this object is temporary and is likely to be replaced by a permanent solution or else be renamed. (:issue:`7094`, :pull:`7134`) +#. `@rcomer`_ fixed the capitalisation of a pytest marker. (:pull:`7163`) + .. comment Whatsnew author names (@github name) in alphabetical order. Note that, core dev names are automatically included by the common_links.inc: diff --git a/lib/iris/tests/graphics/__init__.py b/lib/iris/tests/graphics/__init__.py index 2c9fc0b345..04c25131fb 100644 --- a/lib/iris/tests/graphics/__init__.py +++ b/lib/iris/tests/graphics/__init__.py @@ -285,7 +285,7 @@ def skip_plot(fn: Callable) -> Callable: ... pass """ - skip = pytest.mark.skipIf( + skip = pytest.mark.skipif( condition=not MPL_AVAILABLE, reason="Graphics tests require the matplotlib library.", )