Minor, assertion with bytes instead of str.