Skip to content

Commit

Permalink
Fix W605 error in test_coord_op_coord_fail. (#5925)
Browse files Browse the repository at this point in the history
Co-authored-by: Patrick Peglar <[email protected]>
  • Loading branch information
trexfeathers and pp-mo authored Apr 25, 2024
1 parent bca82d9 commit fc7f832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/iris/tests/test_basic_maths.py
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ def setUp(self):

def test_coord_op_coord__fail(self):
for op, symbol in zip(self.ops, self.symbols):
emsg = f"AuxCoord \{symbol} DimCoord" # noqa: W605
emsg = rf"AuxCoord \{symbol} DimCoord"
with self.assertRaisesRegex(NotYetImplementedError, emsg):
_ = op(self.aux, self.dim)

Expand Down

0 comments on commit fc7f832

Please sign in to comment.