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

Method test_z85encode_wrapcol

Lib/test/test_base64.py:1049–1055  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1047 b'CxXl-AcVLsz/dgCA+t')
1048
1049 def test_z85encode_wrapcol(self):
1050 eq = self.assertEqual
1051 b = b'www.python.org'
1052 self._common_test_wrapcol(base64.z85encode, b)
1053 eq(base64.z85encode(b, wrapcol=10), b'CxXl-AcVLs\nz/dgCA+t')
1054 eq(base64.z85encode(b, wrapcol=14), b'CxXl-AcVLs\nz/dgCA+t')
1055 eq(base64.z85encode(b, wrapcol=1), b'CxXl-\nAcVLs\nz/dgC\nA+t')
1056
1057 def test_a85decode(self):
1058 eq = self.assertEqual

Callers

nothing calls this directly

Calls 2

_common_test_wrapcolMethod · 0.95
eqFunction · 0.85

Tested by

no test coverage detected