Note: I looked into using ``assert_raises()``, but it doesn't return the exception.