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

Method test_expat_nsattrs_empty

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

Source from the content-addressed store, hash-verified

1108
1109 @unittest.expectedFailure # TODO: RUSTPYTHON; AttributeError: 'xmlparser' object has no attribute 'SetParamEntityParsing'
1110 def test_expat_nsattrs_empty(self):
1111 parser = create_parser(1)
1112 gather = self.AttrGatherer()
1113 parser.setContentHandler(gather)
1114
1115 parser.feed("<doc/>")
1116 parser.close()
1117
1118 self.verify_empty_nsattrs(gather._attrs)
1119
1120 @unittest.expectedFailure # TODO: RUSTPYTHON; AttributeError: 'xmlparser' object has no attribute 'SetParamEntityParsing'
1121 def test_expat_nsattrs_wattr(self):

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