mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Make test_str.py pass.
This commit is contained in:
parent
2be161dcfa
commit
ea0ebd8075
3 changed files with 15 additions and 17 deletions
|
@ -21,7 +21,7 @@ def base64_encode(input,errors='strict'):
|
|||
|
||||
"""
|
||||
assert errors == 'strict'
|
||||
output = base64.encodestring(input)
|
||||
output = bytes(base64.encodestring(input))
|
||||
return (output, len(input))
|
||||
|
||||
def base64_decode(input,errors='strict'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue