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

Method reset

Lib/test/test_pulldom.py:292–296  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

290 """Allows us to drive SAX2DOM from a DOMEventStream."""
291
292 def reset(self):
293 self.pulldom = pulldom.SAX2DOM()
294 # This content handler relies on namespace support
295 self.parser.setFeature(xml.sax.handler.feature_namespaces, 1)
296 self.parser.setContentHandler(self.pulldom)
297
298
299class SAX2DOMTestCase(unittest.TestCase):

Callers

nothing calls this directly

Calls 2

setFeatureMethod · 0.45
setContentHandlerMethod · 0.45

Tested by

no test coverage detected