What about `assertNotRaises` here? It will make sure fail the test instead of an error.