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

Method test_expat_attrs_wattr

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

Source from the content-addressed store, hash-verified

1097
1098 @unittest.expectedFailure # TODO: RUSTPYTHON; AttributeError: 'xmlparser' object has no attribute 'SetParamEntityParsing'
1099 def test_expat_attrs_wattr(self):
1100 parser = create_parser()
1101 gather = self.AttrGatherer()
1102 parser.setContentHandler(gather)
1103
1104 parser.feed("<doc attr='val'/>")
1105 parser.close()
1106
1107 self.verify_attrs_wattr(gather._attrs)
1108
1109 @unittest.expectedFailure # TODO: RUSTPYTHON; AttributeError: 'xmlparser' object has no attribute 'SetParamEntityParsing'
1110 def test_expat_nsattrs_empty(self):

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