From 43a995b4e6d9f938f5c06ce4b8a5f5c59d9426df Mon Sep 17 00:00:00 2001 From: Martin Yeo Date: Thu, 25 Apr 2024 16:08:09 +0100 Subject: [PATCH] Fix W605 error in test_coord_op_coord_fail. --- lib/iris/tests/test_basic_maths.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/iris/tests/test_basic_maths.py b/lib/iris/tests/test_basic_maths.py index f234239dcc..8255d823f7 100644 --- a/lib/iris/tests/test_basic_maths.py +++ b/lib/iris/tests/test_basic_maths.py @@ -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)