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

Method test_bad_param

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

Source from the content-addressed store, hash-verified

387
388 # test_headerregistry.TestContentTypeHeader.bad_params
389 def test_bad_param(self):
390 msg = email.message_from_string("Content-Type: blarg; baz; boo\n")
391 self.assertEqual(msg.get_param('baz'), '')
392
393 def test_continuation_sorting_part_order(self):
394 msg = email.message_from_string(

Callers

nothing calls this directly

Calls 2

get_paramMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected