Then just make the assertion. You don't need to assert it doesn't raise an error.