Lines Matching refs:b64decode
105 eq(base64.b64decode("d3d3LnB5dGhvbi5vcmc="), "www.python.org")
106 eq(base64.b64decode('AA=='), '\x00')
107 eq(base64.b64decode("YQ=="), "a")
108 eq(base64.b64decode("YWI="), "ab")
109 eq(base64.b64decode("YWJj"), "abc")
110 eq(base64.b64decode("YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXpBQkNE"
116 eq(base64.b64decode(''), '')
118 eq(base64.b64decode('01a*b$cd', altchars='*$'), '\xd3V\xbeo\xf7\x1d')
120 eq(base64.b64decode(bytearray("YWJj")), "abc")
141 self.assertRaises(TypeError, base64.b64decode, 'abc')
155 self.assertEqual(base64.b64decode(bstr), res)
161 self.assertEqual(base64.b64decode(b'++[[//]]', b'[]'), res)