MCPcopy Index your code
hub / github.com/python/cpython / test_decode

Method test_decode

Lib/test/test_email/test_email.py:4596–4599  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4594 eq(base64mime.header_length('x' * size), bsize)
4595
4596 def test_decode(self):
4597 eq = self.assertEqual
4598 eq(base64mime.decode(''), b'')
4599 eq(base64mime.decode('aGVsbG8='), b'hello')
4600
4601 def test_encode(self):
4602 eq = self.assertEqual

Callers

nothing calls this directly

Calls 2

eqFunction · 0.85
decodeMethod · 0.45

Tested by

no test coverage detected