`assertRaises` context manager doesn't actually return the exception, it returns the context manager, which has an `exception` property. (the exception isn't available when entering the context, which is what gets returned to the `as` name) Unless I am misunderstanding, this is the way it has to be.