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

Method test_expat_nsattrs_empty

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

Source from the content-addressed store, hash-verified

1086 self.verify_attrs_wattr(gather._attrs)
1087
1088 def test_expat_nsattrs_empty(self):
1089 parser = create_parser(1)
1090 gather = self.AttrGatherer()
1091 parser.setContentHandler(gather)
1092
1093 parser.feed("<doc/>")
1094 parser.close()
1095
1096 self.verify_empty_nsattrs(gather._attrs)
1097
1098 def test_expat_nsattrs_wattr(self):
1099 parser = create_parser(1)

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected