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

Method test_mimebase_custom_policy

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

Source from the content-addressed store, hash-verified

2250 self.assertIs(m.policy, email.policy.compat32)
2251
2252 def test_mimebase_custom_policy(self):
2253 m = MIMEBase('multipart', 'mixed', policy=email.policy.default)
2254 self.assertIs(m.policy, email.policy.default)
2255
2256# Test some badly formatted messages
2257class TestNonConformant(TestEmailBase):

Callers

nothing calls this directly

Calls 2

MIMEBaseClass · 0.90
assertIsMethod · 0.45

Tested by

no test coverage detected