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

Method test_expat_attrs_empty

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

Source from the content-addressed store, hash-verified

1086
1087 @unittest.expectedFailure # TODO: RUSTPYTHON; AttributeError: 'xmlparser' object has no attribute 'SetParamEntityParsing'
1088 def test_expat_attrs_empty(self):
1089 parser = create_parser()
1090 gather = self.AttrGatherer()
1091 parser.setContentHandler(gather)
1092
1093 parser.feed("<doc/>")
1094 parser.close()
1095
1096 self.verify_empty_attrs(gather._attrs)
1097
1098 @unittest.expectedFailure # TODO: RUSTPYTHON; AttributeError: 'xmlparser' object has no attribute 'SetParamEntityParsing'
1099 def test_expat_attrs_wattr(self):

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected