Should raise InputError.