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

Method test_sax2dom_fail

Lib/test/test_pulldom.py:178–181  ·  view source on GitHub ↗

SAX2DOM can"t handle a PI before the root element.

(self)

Source from the content-addressed store, hash-verified

176
177 @unittest.expectedFailure
178 def test_sax2dom_fail(self):
179 """SAX2DOM can"t handle a PI before the root element."""
180 pd = SAX2DOMTestHelper(None, SAXExerciser(), 12)
181 self._test_thorough(pd)
182
183 def test_thorough_sax2dom(self):
184 """Test some of the hard-to-reach parts of SAX2DOM."""

Callers

nothing calls this directly

Calls 3

_test_thoroughMethod · 0.95
SAX2DOMTestHelperClass · 0.85
SAXExerciserClass · 0.85

Tested by

no test coverage detected