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

Method test_initialize_with_string

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

Source from the content-addressed store, hash-verified

1571 self._check_sample(msg)
1572
1573 def test_initialize_with_string(self):
1574 # Initialize based on string
1575 msg = self._factory(_sample_message)
1576 self._post_initialize_hook(msg)
1577 self._check_sample(msg)
1578
1579 def test_initialize_with_file(self):
1580 # Initialize based on contents of file

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