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

Method test_comment

Lib/test/test_pulldom.py:138–145  ·  view source on GitHub ↗

PullDOM does not receive "comment" events.

(self)

Source from the content-addressed store, hash-verified

136
137 @unittest.expectedFailure
138 def test_comment(self):
139 """PullDOM does not receive "comment" events."""
140 items = pulldom.parseString(SMALL_SAMPLE)
141 for evt, _ in items:
142 if evt == pulldom.COMMENT:
143 break
144 else:
145 self.fail("No comment was encountered")
146
147 @unittest.expectedFailure
148 def test_end_document(self):

Callers

nothing calls this directly

Calls 2

parseStringMethod · 0.45
failMethod · 0.45

Tested by

no test coverage detected