Why it doesn't raise a ``ValueError`` here?