I think it would be better to use:
```
with self.assertRaises(AssertionError):
    warn.assert_any_call(msg.format(coord))
```