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

Method test_encode_one_line_eol

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

Source from the content-addressed store, hash-verified

4861 self._test_encode('hello\r\n', 'hello\n')
4862
4863 def test_encode_one_line_eol(self):
4864 self._test_encode('hello\n', 'hello\r\n', eol='\r\n')
4865
4866 def test_encode_one_line_eol_after_non_ascii(self):
4867 # issue 20206; see changeset 0cf700464177 for why the encode/decode.

Callers

nothing calls this directly

Calls 1

_test_encodeMethod · 0.95

Tested by

no test coverage detected