Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _make_message
Method
_make_message
Lib/test/test_email/__init__.py:58–59 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
56
return
email.message_from_bytes(bytestring, message, policy=policy)
57
58
def
_make_message(self):
59
return
self.message(policy=self.policy)
60
61
def
_bytes_repr(self, b):
62
return
[repr(x)
for
x in b.splitlines(keepends=True)]
Callers
15
payload_as_body
Method · 0.80
get_key_as_get_content_key
Method · 0.80
get_key_as_get_content_key_order
Method · 0.80
test_get_content_raises_if_unknown_mimetype_and_no_default
Method · 0.80
set_key_as_set_content_key
Method · 0.80
set_key_as_set_content_key_order
Method · 0.80
test_set_content_raises_if_unknown_type_and_no_default
Method · 0.80
test_set_content_raises_if_called_on_multipart
Method · 0.80
test_set_content_calls_clear_content
Method · 0.80
test_set_text_plain
Method · 0.80
test_set_text_plain_null
Method · 0.80
test_set_text_html
Method · 0.80
Calls
1
message
Method · 0.45
Tested by
15
payload_as_body
Method · 0.64
get_key_as_get_content_key
Method · 0.64
get_key_as_get_content_key_order
Method · 0.64
test_get_content_raises_if_unknown_mimetype_and_no_default
Method · 0.64
set_key_as_set_content_key
Method · 0.64
set_key_as_set_content_key_order
Method · 0.64
test_set_content_raises_if_unknown_type_and_no_default
Method · 0.64
test_set_content_raises_if_called_on_multipart
Method · 0.64
test_set_content_calls_clear_content
Method · 0.64
test_set_text_plain
Method · 0.64
test_set_text_plain_null
Method · 0.64
test_set_text_html
Method · 0.64