This error condition doesn't match the ValueError string below