From 7fed137e90a6d51d29261f474b5e7e1839cb5f6e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 14 Mar 2023 15:20:23 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- lib/iris/tests/unit/util/test_new_axis.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/iris/tests/unit/util/test_new_axis.py b/lib/iris/tests/unit/util/test_new_axis.py index 009787f80e..a6374f97ad 100644 --- a/lib/iris/tests/unit/util/test_new_axis.py +++ b/lib/iris/tests/unit/util/test_new_axis.py @@ -122,7 +122,9 @@ def test_existing_dim_coord(self, stock_cube): stock_cube.add_aux_coord(coord) new_cube = iris.util.new_axis(stock_cube, coord) - with pytest.raises(ValueError, match="is already a dimension coordinate."): + with pytest.raises( + ValueError, match="is already a dimension coordinate." + ): iris.util.new_axis(new_cube, coord) def test_promote_non_scalar(self, stock_cube):