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

Method test_encode_empty_payload

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

Source from the content-addressed store, hash-verified

899 self.assertLessEqual(max([ len(x) for x in lines ]), 76)
900
901 def test_encode_empty_payload(self):
902 eq = self.assertEqual
903 msg = Message()
904 msg.set_charset('us-ascii')
905 eq(msg['content-transfer-encoding'], '7bit')
906
907 def test_default_cte(self):
908 eq = self.assertEqual

Callers

nothing calls this directly

Calls 3

set_charsetMethod · 0.95
MessageClass · 0.90
eqFunction · 0.85

Tested by

no test coverage detected