Lines Matching refs:b64decode
193 eq(base64.b64decode(data), res)
194 eq(base64.b64decode(data.decode('ascii')), res)
196 self.check_other_types(base64.b64decode, b"YWJj", b"abc")
197 self.check_decode_type_errors(base64.b64decode)
206 eq(base64.b64decode(data, altchars=altchars), res)
207 eq(base64.b64decode(data_str, altchars=altchars), res)
208 eq(base64.b64decode(data, altchars=altchars_str), res)
209 eq(base64.b64decode(data_str, altchars=altchars_str), res)
232 self.assertRaises(binascii.Error, base64.b64decode, b'abc')
233 self.assertRaises(binascii.Error, base64.b64decode, 'abc')
248 base64.b64decode,
258 base64.b64decode(bstr, validate=True)
260 base64.b64decode(bstr.decode('ascii'), validate=True)
264 self.assertEqual(base64.b64decode(b'++[[//]]', b'[]'), res)
634 decode_funcs = (base64.b64decode,