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

Method test_become_message

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

Source from the content-addressed store, hash-verified

1618 '{} attribute does not exist'.format(attr))
1619
1620 def test_become_message(self):
1621 # Take on the state of another message
1622 eMM = email.message_from_string(_sample_message)
1623 msg = self._factory()
1624 msg._become_message(eMM)
1625 self._check_sample(msg)
1626
1627 def test_explain_to(self):
1628 # Copy self's format-specific data to other message formats.

Callers

nothing calls this directly

Calls 3

_factoryMethod · 0.80
_become_messageMethod · 0.80
_check_sampleMethod · 0.80

Tested by

no test coverage detected