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

Method test_b85encode_wrapcol

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

Source from the content-addressed store, hash-verified

1004 b'cXxL#aCvlSZ*DGca%T')
1005
1006 def test_b85encode_wrapcol(self):
1007 eq = self.assertEqual
1008 b = b'www.python.org'
1009 self._common_test_wrapcol(base64.b85encode, b)
1010 eq(base64.b85encode(b, wrapcol=10), b'cXxL#aCvlS\nZ*DGca%T')
1011 eq(base64.b85encode(b, wrapcol=14), b'cXxL#aCvlS\nZ*DGca%T')
1012 eq(base64.b85encode(b, wrapcol=1), b'cXxL#\naCvlS\nZ*DGc\na%T')
1013
1014 def test_z85encode(self):
1015 eq = self.assertEqual

Callers

nothing calls this directly

Calls 2

_common_test_wrapcolMethod · 0.95
eqFunction · 0.85

Tested by

no test coverage detected