This doesn't look right. You don't need the try/except block, if the code you are testing raises an exception then the test will fail anyway.

It'd be nice to check that a warning is issued too. I'm not sure what the current best practice for doing this in Iris is (it can be non-trivial). I think @pelson did something like this recently... I may be wrong though.