Use the expects.testing failure contextmanager