测试中稍微改一下下面的assert语句就会出错,不知道哪里有问题。
Topic source因为assert要对应,不能乱改。下面的是可以的。
assert b'kangaio' == safe_base64_decode(b'a2FuZ2Fpbw=='), safe_base64_decode('a2FuZ2Fpbw==')
assert b'kangaio' == safe_base64_decode(b'a2FuZ2Fpbw'), safe_base64_decode('a2FuZ2Fpbw')
print('ok')
- 1
用户5307799436