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

Method test_encode_one_line_one_space

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

Source from the content-addressed store, hash-verified

4872 self._test_encode(' ', '=20')
4873
4874 def test_encode_one_line_one_space(self):
4875 self._test_encode(' \n', '=20\n')
4876
4877# XXX: body_encode() expect strings, but uses ord(char) from these strings
4878# to index into a 256-entry list. For code points above 255, this will fail.

Callers

nothing calls this directly

Calls 1

_test_encodeMethod · 0.95

Tested by

no test coverage detected