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

Method test_initialize_with_eMM

Lib/test/test_mailbox.py:1566–1571  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1564 self._delete_recursively(self._path)
1565
1566 def test_initialize_with_eMM(self):
1567 # Initialize based on email.message.Message instance
1568 eMM = email.message_from_string(_sample_message)
1569 msg = self._factory(eMM)
1570 self._post_initialize_hook(msg)
1571 self._check_sample(msg)
1572
1573 def test_initialize_with_string(self):
1574 # Initialize based on string

Callers

nothing calls this directly

Calls 3

_post_initialize_hookMethod · 0.95
_factoryMethod · 0.80
_check_sampleMethod · 0.80

Tested by

no test coverage detected