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.", )