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

Method test_expat_attrs_wattr

Lib/test/test_sax.py:1078–1086  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1076 self.verify_empty_attrs(gather._attrs)
1077
1078 def test_expat_attrs_wattr(self):
1079 parser = create_parser()
1080 gather = self.AttrGatherer()
1081 parser.setContentHandler(gather)
1082
1083 parser.feed("<doc attr='val'/>")
1084 parser.close()
1085
1086 self.verify_attrs_wattr(gather._attrs)
1087
1088 def test_expat_nsattrs_empty(self):
1089 parser = create_parser(1)

Callers

nothing calls this directly

Calls 5

create_parserFunction · 0.90
verify_attrs_wattrMethod · 0.80
setContentHandlerMethod · 0.45
feedMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected