Not really, no: there's only one case here, for `f` is just a callable for `dsymm`. `assert_raises` would require passing arguments as a list/dict, which wouldn't be too readable. Is there a strong reason to not use avoid `@raises`?