Skip to content

Commit 7fed137

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1eeaf66 commit 7fed137

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/iris/tests/unit/util/test_new_axis.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ def test_existing_dim_coord(self, stock_cube):
122122
stock_cube.add_aux_coord(coord)
123123

124124
new_cube = iris.util.new_axis(stock_cube, coord)
125-
with pytest.raises(ValueError, match="is already a dimension coordinate."):
125+
with pytest.raises(
126+
ValueError, match="is already a dimension coordinate."
127+
):
126128
iris.util.new_axis(new_cube, coord)
127129

128130
def test_promote_non_scalar(self, stock_cube):

0 commit comments

Comments
 (0)