Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenworsley committed Mar 11, 2024
1 parent 84f0350 commit 5fba650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/iris/tests/unit/config/test_NetCDF.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def test_bad_value(options):
options.conventions_override = bad_value
assert not options.conventions_override
exp_wmsg = "Attempting to set invalid value {!r}".format(bad_value)
assert re.match(str(w[0].message), exp_wmsg)
assert re.match(exp_wmsg, str(w[0].message))


def test__contextmgr(options):
Expand Down

0 comments on commit 5fba650

Please sign in to comment.