MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_bad_param

Method test_bad_param

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

Source from the content-addressed store, hash-verified

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