It won't use a default when you pass the _wrong_ level -- that's why this line says "If not specified", not "If specified incorrectly".

Just below here, also see:

+        If the level is not passed and the alert code is ambiguous according to the spec, :class:`InvalidAlertLevel` will also be raised in this case.