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

Method make_header

Lib/test/test_email/test_headerregistry.py:79–80  ·  view source on GitHub ↗
(self, name, value)

Source from the content-addressed store, hash-verified

77 factory = headerregistry.HeaderRegistry()
78
79 def make_header(self, name, value):
80 return self.factory(name, value)
81
82
83class TestBaseHeaderFeatures(TestHeaderBase):

Callers 15

test_strMethod · 0.80
test_substrMethod · 0.80
test_has_nameMethod · 0.80
_test_attr_roMethod · 0.80
test_defects_is_tupleMethod · 0.80
string_as_valueMethod · 0.80
test_parse_dateMethod · 0.80

Calls 1

factoryMethod · 0.45

Tested by

no test coverage detected