commit | b54d801280e3f510782e2855504710947d10f053 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Thu Jun 04 09:11:51 2009 +0000 |
committer | Georg Brandl <georg@python.org> | Thu Jun 04 09:11:51 2009 +0000 |
tree | 457166089bbc17f190eb7140755c7948e2918829 | |
parent | cef803f82c82017b734dd4264478ae6f02ce21f5 [diff] [blame] |
#3613: add base64.encodebytes and decodebytes as the new spelling of encodestring and decodestring; deprecate the latter.
diff --git a/Lib/test/test_xmlrpc.py b/Lib/test/test_xmlrpc.py index 73d53ee..d4e8122 100644 --- a/Lib/test/test_xmlrpc.py +++ b/Lib/test/test_xmlrpc.py
@@ -232,7 +232,7 @@ def test_decode(self): d = b'\x01\x02\x03abc123\xff\xfe' - de = base64.encodestring(d) + de = base64.encodebytes(d) t1 = xmlrpclib.Binary() t1.decode(de) self.assertEqual(str(t1), str(d, "latin-1"))